From 59d152bec5e7f0c829bb6fe3bd412129b2757559 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 22 Jan 2017 16:37:37 +0100 Subject: [PATCH] Use proper config for database initialization. --- backend/src/uxbox/db.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/uxbox/db.clj b/backend/src/uxbox/db.clj index 26c17281b..7f3fe913b 100644 --- a/backend/src/uxbox/db.clj +++ b/backend/src/uxbox/db.clj @@ -49,7 +49,7 @@ (hikari/make-datasource dbconf))) (defstate datasource - :start (create-datasource (:database cfg/config)) + :start (create-datasource cfg/config) :stop (hikari/close-datasource datasource)) ;; --- Suricatta Async Adapter