mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 05:46:38 +02:00
✨ Load workspace thumbnails in a separated request
This commit is contained in:
parent
dfb73192b8
commit
b20d2badfe
11 changed files with 83 additions and 66 deletions
|
@ -77,7 +77,7 @@
|
|||
[{:keys [pool] :as cfg} {:keys [profile-id project-id] :as params}]
|
||||
(db/with-atomic [conn pool]
|
||||
(proj/check-edition-permissions! conn profile-id project-id)
|
||||
(let [team-id (files/retrieve-team-id conn project-id)]
|
||||
(let [team-id (files/get-team-id conn project-id)]
|
||||
(-> (create-file conn params)
|
||||
(vary-meta assoc ::audit/props {:team-id team-id})))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue