diff --git a/backend/src/uxbox/services/mutations/project_pages.clj b/backend/src/uxbox/services/mutations/project_pages.clj index c277634fd..8b2e82c87 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