Created
September 6, 2018 13:25
-
-
Save fulopdaniel/c341ce1d9eaf1df0b1c849dddcf37354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export async function main(event, context, callback) { | |
parser(event).then(() => { | |
uploadFile(event.body.file) | |
.then(() => { | |
// Handle successful upload | |
}) | |
.catch(() => { | |
// Handle upload errors | |
}); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment