diff --git a/backend/src/app/rpc/mutations/profile.clj b/backend/src/app/rpc/mutations/profile.clj index f02c346308..49b1ee1f2e 100644 --- a/backend/src/app/rpc/mutations/profile.clj +++ b/backend/src/app/rpc/mutations/profile.clj @@ -228,6 +228,9 @@ ;; --- Mutation: Register if not exists +(s/def ::login-or-register + (s/keys :req-un [::email ::fullname])) + (sv/defmethod ::login-or-register {:auth false} [{:keys [pool] :as cfg} {:keys [email fullname] :as params}] (letfn [(populate-additional-data [conn profile]