Skip to content

Commit

Permalink
Add logging to deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
solita-juhohaa committed Sep 17, 2024
1 parent 7640ea4 commit 064bfaf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
(jdbc/with-db-transaction [db db]
(anonymize-energiatodistus! db id)
(destroy-energiatodistus-audit-data! db id))
(delete-energiatodistus-pdfs! db aws-s3-client id))
(delete-energiatodistus-pdfs! db aws-s3-client id)
(log/info (str "Destroyed energiatodistus (id: " id ")")))

(defn destroy-expired-energiatodistukset! [db aws-s3-client]
(log/info (str "Destruction of expired energiatodistukset initiated."))
Expand Down

0 comments on commit 064bfaf

Please sign in to comment.