0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

🐛 Enable initial data for users registred from 3rd party auth.

This commit is contained in:
Andrey Antukh 2021-02-01 12:07:32 +01:00
parent 1d349ec62b
commit 9771db7133

View file

@ -254,8 +254,10 @@
:is-demo false}))
(register-profile [conn params]
(->> (create-profile conn params)
(create-profile-relations conn)))]
(let [profile (->> (create-profile conn params)
(create-profile-relations conn))]
(create-profile-initial-data conn profile)
profile))]
(db/with-atomic [conn pool]
(let [profile (profile/retrieve-profile-data-by-email conn email)