Skip to content

Commit 4154442

Browse files
committed
fix: delete phase in ES
1 parent bacb4a0 commit 4154442

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/phases/delete.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ module.exports = [
5050
req,
5151
EVENT.ROUTING_KEY.PROJECT_PHASE_REMOVED,
5252
RESOURCES.PHASE,
53-
_.pick(deleted.toJSON(), 'id'));
53+
deleted.toJSON(),
54+
);
5455

5556
res.status(204).json({});
5657
}).catch(err => next(err));

0 commit comments

Comments
 (0)