mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 04:16:11 +02:00
♻️ Use proper namespace qualified access to pool
This commit is contained in:
parent
bca98f91e4
commit
4258a840ac
15 changed files with 68 additions and 68 deletions
|
@ -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])))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue