We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12b9c95 + d6d3fa9 commit 9f15ab2Copy full SHA for 9f15ab2
src/routes/milestones/commonHelper.js
@@ -50,7 +50,7 @@ async function deleteMilestone(authUser, timelineId, id, transaction, item) {
50
}
51
await milestone.update({ deletedBy: authUser.userId }, { transaction });
52
await milestone.destroy({ transaction });
53
- return { id };
+ return { id, timelineId };
54
55
56
/**
0 commit comments