From 0c3184ed8370367be145daf74fe6fa4b7ef94a09 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 8 Jan 2021 14:41:14 +0100 Subject: [PATCH] :bug: Add missing spec. --- backend/src/app/rpc/mutations/profile.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/app/rpc/mutations/profile.clj b/backend/src/app/rpc/mutations/profile.clj index f02c34630..49b1ee1f2 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]