0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Fix team image uploading

This commit is contained in:
Andrey Antukh 2023-11-08 13:37:02 +01:00
parent f370f28ca6
commit aadd312e39

View file

@ -651,7 +651,7 @@
(defn update-team-photo
[{:keys [::db/pool ::sto/storage] :as cfg} {:keys [profile-id team-id] :as params}]
(let [team (get-team pool profile-id team-id)
(let [team (get-team cfg :profile-id profile-id :team-id team-id)
photo (profile/upload-photo cfg params)]
(db/with-atomic [conn pool]