diff --git a/backend/src/app/rpc/mutations/profile.clj b/backend/src/app/rpc/mutations/profile.clj index cefef91d9..5abab1086 100644 --- a/backend/src/app/rpc/mutations/profile.clj +++ b/backend/src/app/rpc/mutations/profile.clj @@ -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)