mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 22:26: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
|
@ -80,7 +80,7 @@
|
|||
(sv/defmethod ::create-file
|
||||
{::doc/added "1.17"
|
||||
::webhooks/event? true}
|
||||
[{:keys [pool] :as cfg} {:keys [::rpc/profile-id project-id] :as params}]
|
||||
[{:keys [::db/pool] :as cfg} {:keys [::rpc/profile-id project-id] :as params}]
|
||||
(db/with-atomic [conn pool]
|
||||
(projects/check-edition-permissions! conn profile-id project-id)
|
||||
(let [team-id (files/get-team-id conn project-id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue