♻️ 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

@ -140,7 +140,7 @@
from webhook where team_id = ? order by uri")
(sv/defmethod ::get-webhooks
[{:keys [pool] :as cfg} {:keys [::rpc/profile-id team-id]}]
[{:keys [::db/pool] :as cfg} {:keys [::rpc/profile-id team-id]}]
(with-open [conn (db/open pool)]
(check-read-permissions! conn profile-id team-id)
(db/exec! conn [sql:get-webhooks team-id])))