0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 22:22:43 -05:00

🐛 Make the PENPOT_SECRET_KEY optional

Fix a regression introduced with 2.4
This commit is contained in:
Andrey Antukh 2025-01-14 17:42:49 +01:00 committed by Alonso Torres
parent 5c428b5aa5
commit 40693e6857

View file

@ -74,8 +74,7 @@
(defmethod ig/assert-key ::props (defmethod ig/assert-key ::props
[_ params] [_ params]
(assert (db/pool? (::db/pool params)) "expected valid database pool") (assert (db/pool? (::db/pool params)) "expected valid database pool"))
(assert (string? (::key params)) "expected valid key string"))
(defmethod ig/init-key ::props (defmethod ig/init-key ::props
[_ {:keys [::db/pool ::key] :as cfg}] [_ {:keys [::db/pool ::key] :as cfg}]