X-Git-Url: https://git.r.bdr.sh/rbdr/captura-backend-example/blobdiff_plain/08b55c6db901910dd0540a45257122f9450cbe0a..HEAD:/src/index.js diff --git a/src/index.js b/src/index.js index bae1fc0..11e400b 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,8 @@ const { S3Client, PutObjectCommand } = require('@aws-sdk/client-s3'); +/** + * @type {import('aws-lambda').APIGatewayProxyHandler} + */ module.exports.handler = async (event) => { const data = Buffer.from(event.body, 'base64'); let fileExtension;