Skip to content

Commit

Permalink
Add userId to innerMeta while deleting entry (#58)
Browse files Browse the repository at this point in the history
* Add userId to innerMeta while deleting entry

* Change field name
  • Loading branch information
Sergey-weber authored Jan 18, 2024
1 parent 3acffec commit a59f3af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/entry/actions/delete-entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export async function deleteEntry(
...entity.innerMeta,
oldKey: key,
oldDisplayKey: displayKey,
lastDeletionUserId: user.userId,
};

return markEntryAsDeleted(trx, {
Expand Down

0 comments on commit a59f3af

Please sign in to comment.