Skip to content

Commit 8edf22c

Browse files
include file path in the av scan event payload
1 parent 894652e commit 8edf22c

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
@@ -69,6 +69,7 @@ async function attachmentCreatedKafkaHandler(app, topic, payload) {
6969
// Construct s3 url
7070
const avScanPayload = {
7171
url: `https://${config.get('attachmentsDMZS3Bucket')}.s3.amazonaws.com/${encodeURIComponent(payload.path)}`,
72+
path: payload.path,
7273
fileName: payload.path.split('/').pop(),
7374
moveFile: false,
7475
callbackOption: 'kafka',

0 commit comments

Comments
 (0)