mirror of
https://github.com/penpot/penpot.git
synced 2025-02-11 01:28:30 -05:00
Merge pull request #3109 from penpot/niwinz-bugfixes-5
🐛 Add missing storage dependency to dbg routes module
This commit is contained in:
commit
6d3baaae47
2 changed files with 4 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
||||||
[app.rpc.commands.binfile :as binf]
|
[app.rpc.commands.binfile :as binf]
|
||||||
[app.rpc.commands.files-create :refer [create-file]]
|
[app.rpc.commands.files-create :refer [create-file]]
|
||||||
[app.rpc.commands.profile :as profile]
|
[app.rpc.commands.profile :as profile]
|
||||||
|
[app.storage :as-alias sto]
|
||||||
[app.util.blob :as blob]
|
[app.util.blob :as blob]
|
||||||
[app.util.template :as tmpl]
|
[app.util.template :as tmpl]
|
||||||
[app.util.time :as dt]
|
[app.util.time :as dt]
|
||||||
|
@ -389,6 +390,7 @@
|
||||||
(defmethod ig/pre-init-spec ::routes [_]
|
(defmethod ig/pre-init-spec ::routes [_]
|
||||||
(s/keys :req [::db/pool
|
(s/keys :req [::db/pool
|
||||||
::wrk/executor
|
::wrk/executor
|
||||||
|
::sto/storage
|
||||||
::session/manager]))
|
::session/manager]))
|
||||||
|
|
||||||
(defmethod ig/init-key ::routes
|
(defmethod ig/init-key ::routes
|
||||||
|
|
|
@ -300,7 +300,8 @@
|
||||||
:app.http.debug/routes
|
:app.http.debug/routes
|
||||||
{::db/pool (ig/ref ::db/pool)
|
{::db/pool (ig/ref ::db/pool)
|
||||||
::wrk/executor (ig/ref ::wrk/executor)
|
::wrk/executor (ig/ref ::wrk/executor)
|
||||||
::session/manager (ig/ref ::session/manager)}
|
::session/manager (ig/ref ::session/manager)
|
||||||
|
::sto/storage (ig/ref ::sto/storage)}
|
||||||
|
|
||||||
:app.http.websocket/routes
|
:app.http.websocket/routes
|
||||||
{::db/pool (ig/ref ::db/pool)
|
{::db/pool (ig/ref ::db/pool)
|
||||||
|
|
Loading…
Add table
Reference in a new issue