From 6f5b18de3a1ae1d9241207682ca44e5abc48372e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 8 Jan 2021 13:39:36 +0100 Subject: [PATCH] :bug: More fixes on github and google provider. --- backend/src/app/http/auth/github.clj | 2 +- backend/src/app/http/auth/google.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/http/auth/github.clj b/backend/src/app/http/auth/github.clj index 43ca5fc4ad..5cfd873509 100644 --- a/backend/src/app/http/auth/github.clj +++ b/backend/src/app/http/auth/github.clj @@ -120,7 +120,7 @@ (ex/raise :type :authentication :code :unable-to-authenticate-with-github)) - (let [method-fn (get-in rpc [:method :mutation :login-or-register]) + (let [method-fn (get-in rpc [:methods :mutation :login-or-register]) profile (method-fn {:email (:email info) :fullname (:fullname info)}) uagent (get-in request [:headers "user-agent"]) diff --git a/backend/src/app/http/auth/google.clj b/backend/src/app/http/auth/google.clj index a3d05a0b34..df80ac737d 100644 --- a/backend/src/app/http/auth/google.clj +++ b/backend/src/app/http/auth/google.clj @@ -110,7 +110,7 @@ (ex/raise :type :authentication :code :unable-to-authenticate-with-google)) - (let [method-fn (get-in rpc [:method :mutation :login-or-register]) + (let [method-fn (get-in rpc [:methods :mutation :login-or-register]) profile (method-fn {:email (:email info) :fullname (:fullname info)}) uagent (get-in request [:headers "user-agent"])