Skip to content

Commit 605ffb7

Browse files
add comments
1 parent f2ecad4 commit 605ffb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/events/attachments/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ async function attachmentCreatedKafkaHandler(app, topic, payload) {
6666
if (result.error) {
6767
throw new Error(result.error);
6868
}
69+
// Construct s3 url
6970
const awsS3Url = `https://${config.get('attachmentsDMZS3Bucket')}.s3.amazonaws.com/${payload.path}`;
7071
const avScanPayload = {
7172
url: encodeURIComponent(awsS3Url),

0 commit comments

Comments
 (0)