0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Fix clean archived auditlog

This commit is contained in:
Alejandro Alonso 2023-01-30 13:11:50 +01:00
parent a1dcb11261
commit 2c38f31aa9

View file

@ -323,7 +323,7 @@
where archived_at is not null")
(defn- clean-archived
[{:keys [pool]}]
[{:keys [::db/pool]}]
(let [result (db/exec-one! pool [sql:clean-archived])
result (:next.jdbc/update-count result)]
(l/debug :hint "delete archived audit log entries" :deleted result)