Skip to content

Commit

Permalink
Merge pull request #3109 from penpot/niwinz-bugfixes-5
Browse files Browse the repository at this point in the history
🐛 Add missing storage dependency to dbg routes module
  • Loading branch information
superalex committed Apr 5, 2023
2 parents 28d3402 + 30e1c7d commit 6d3baaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions backend/src/app/http/debug.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
[app.rpc.commands.binfile :as binf]
[app.rpc.commands.files-create :refer [create-file]]
[app.rpc.commands.profile :as profile]
[app.storage :as-alias sto]
[app.util.blob :as blob]
[app.util.template :as tmpl]
[app.util.time :as dt]
Expand Down Expand Up @@ -389,6 +390,7 @@
(defmethod ig/pre-init-spec ::routes [_]
(s/keys :req [::db/pool
::wrk/executor
::sto/storage
::session/manager]))

(defmethod ig/init-key ::routes
Expand Down
3 changes: 2 additions & 1 deletion backend/src/app/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@
:app.http.debug/routes
{::db/pool (ig/ref ::db/pool)
::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
{::db/pool (ig/ref ::db/pool)
Expand Down

0 comments on commit 6d3baaa

Please sign in to comment.