0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

Merge pull request #4833 from penpot/superalex-add-extra-info-to-create-team-response

 Add extra info to create team response
This commit is contained in:
Andrey Antukh 2024-07-02 15:37:42 +02:00 committed by GitHub
commit 8d6791105a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -357,10 +357,12 @@
::quotes/profile-id profile-id})
(let [features (-> (cfeat/get-enabled-features cf/flags)
(cfeat/check-client-features! (:features params)))]
(create-team cfg (assoc params
(cfeat/check-client-features! (:features params)))
team (create-team cfg (assoc params
:profile-id profile-id
:features features))))))
:features features))]
(with-meta team
{::audit/props {:id (:id team)}})))))
(defn create-team
"This is a complete team creation process, it creates the team