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:
parent
5c428b5aa5
commit
40693e6857
1 changed files with 1 additions and 2 deletions
|
@ -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}]
|
||||||
|
|
Loading…
Add table
Reference in a new issue