diff --git a/backend/src/app/http/auth/github.clj b/backend/src/app/http/auth/github.clj index 091a7155c..43ca5fc4a 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 :mutations :login-or-register]) + (let [method-fn (get-in rpc [:method :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 83023d613..a3d05a0b3 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 :mutations :login-or-register]) + (let [method-fn (get-in rpc [:method :mutation :login-or-register]) profile (method-fn {:email (:email info) :fullname (:fullname info)}) uagent (get-in request [:headers "user-agent"])