From 30e1c7d54ee146c369172bbbf288b90eb606e648 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 4 Apr 2023 19:19:11 +0200 Subject: [PATCH] :bug: Add missing storage dependency to dbg routes module --- backend/src/app/http/debug.clj | 2 ++ backend/src/app/main.clj | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index 5abfea32d..36886cddd 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -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] @@ -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 diff --git a/backend/src/app/main.clj b/backend/src/app/main.clj index 9e6da0164..2f9624fe1 100644 --- a/backend/src/app/main.clj +++ b/backend/src/app/main.clj @@ -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)