From 0d3ff635454978f06532c451653ee048778ac7cc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 9 Jan 2020 16:31:31 +0100 Subject: [PATCH] :bug: Fix incorrect usage of pool on rename-page mutation. --- backend/src/uxbox/services/mutations/project_pages.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/uxbox/services/mutations/project_pages.clj b/backend/src/uxbox/services/mutations/project_pages.clj index c277634fdc..8b2e82c87f 100644 --- a/backend/src/uxbox/services/mutations/project_pages.clj +++ b/backend/src/uxbox/services/mutations/project_pages.clj @@ -122,7 +122,7 @@ set name = $2 where id = $1 and deleted_at is null"] - (-> (db/query-one db/pool [sql id name]) + (-> (db/query-one conn [sql id name]) (p/then su/constantly-nil)))) ;; --- Mutation: Update Page