Skip to content

Commit d40aacf

Browse files
committed
fix: delete attachements in ES
1 parent cae3b0e commit d40aacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/attachments/delete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = [
6161
req,
6262
EVENT.ROUTING_KEY.PROJECT_ATTACHMENT_REMOVED,
6363
RESOURCES.ATTACHMENT,
64-
{ id: attachmentId });
64+
pattachment);
6565
res.status(204).json({});
6666
})
6767
.catch(err => next(err));

0 commit comments

Comments
 (0)