diff --git a/worker/src/s3.js b/worker/src/s3.js index bfa74522a8..8b125db673 100644 --- a/worker/src/s3.js +++ b/worker/src/s3.js @@ -27,8 +27,7 @@ const generateS3Config = () => { }; }; -const { bucketName, s3Config } = generateS3Config; - +const { bucketName, s3Config } = generateS3Config(); const s3 = new S3(s3Config); function downloadFile(key) {