Skip to content

Commit 894652e

Browse files
fix lint errors
1 parent 059200a commit 894652e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/events/attachments/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ async function attachmentCreatedKafkaHandler(app, topic, payload) {
6767
throw new Error(result.error);
6868
}
6969
// Construct s3 url
70-
const awsS3Url = `https://${config.get('attachmentsDMZS3Bucket')}.s3.amazonaws.com/${encodeURIComponent(payload.path)}`;
7170
const avScanPayload = {
72-
url: awsS3Url,
71+
url: `https://${config.get('attachmentsDMZS3Bucket')}.s3.amazonaws.com/${encodeURIComponent(payload.path)}`,
7372
fileName: payload.path.split('/').pop(),
7473
moveFile: false,
7574
callbackOption: 'kafka',

0 commit comments

Comments
 (0)