♻️ Use proper namespace qualified access to pool

This commit is contained in:
Andrey Antukh 2023-01-17 10:58:45 +01:00
parent bca98f91e4
commit 4258a840ac
15 changed files with 68 additions and 68 deletions

View file

@ -77,7 +77,7 @@
::audit/profile-id (:id profile)}))))))
(defn- login-or-register
[{:keys [pool] :as cfg} info]
[{:keys [::db/pool] :as cfg} info]
(db/with-atomic [conn pool]
(or (some->> (:email info)
(profile/get-profile-by-email conn)