Skip to content

Commit

Permalink
fix: add the sendEmail as part of the update transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Nov 25, 2024
1 parent b8be72a commit 1d621f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/routes/thesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ thesisRouter.put(
req.user,
t
)
await handleStatusChangeEmail(originalThesis, updatedThesis, req.user)
})
await handleStatusChangeEmail(originalThesis, updatedThesis, req.user)

res.send(updatedThesis)
}
Expand Down

0 comments on commit 1d621f1

Please sign in to comment.