Skip to content

Commit

Permalink
Restore send state reset on save for logbook prior notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Aug 13, 2024
1 parent 4dfe172 commit af3bf90
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,8 @@ class JpaLogbookReportRepository(
* - the PDF will be re-generated (done in the use case by deleting the old one)
* - the PNO will require another verification before sending
*/
if (pnoMessage.isInVerificationScope == true) {
pnoMessage.isBeingSent = false
pnoMessage.isSent = false
}
pnoMessage.isBeingSent = false
pnoMessage.isSent = false
pnoMessage.isVerified = false

val nextMessage = objectMapper.writeValueAsString(pnoMessage)
Expand Down

0 comments on commit af3bf90

Please sign in to comment.