From caa92ea41344ac493446d1e034aea2c26107ce6e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 1 Oct 2020 13:21:14 +0200 Subject: [PATCH] :bug: Fix issue with google login. --- backend/src/app/services/mutations/profile.clj | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/app/services/mutations/profile.clj b/backend/src/app/services/mutations/profile.clj index efc2c1932e..ee8217979e 100644 --- a/backend/src/app/services/mutations/profile.clj +++ b/backend/src/app/services/mutations/profile.clj @@ -392,8 +392,9 @@ claims)) (defmethod process-token :auth - [conn claims] - claims) + [conn {:keys [profile-id] :as claims}] + (let [profile (profile/retrieve-profile conn profile-id)] + (assoc claims :profile profile))) (defmethod process-token :default [conn claims]