Skip to content

Commit

Permalink
Reinstate commnet
Browse files Browse the repository at this point in the history
  • Loading branch information
ja573 committed Nov 18, 2024
1 parent 917e1ec commit 432f2fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thoth-api/src/model/work_relation/crud.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ impl Crud for WorkRelation {
.get_result::<Self>(connection)
.map_err(Into::into)
.and_then(|t| {
// On success, create a new history table entry.
// Only record the original update, not the automatic inverse update.
self.new_history_entry(account_id)
.insert(connection)
.map(|_| t)
Expand Down

0 comments on commit 432f2fa

Please sign in to comment.