mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 17:00:36 -05:00
🐛 Fix inconsistent naming on rpc call on github and google auth provider.
This commit is contained in:
parent
ff7330048b
commit
df4adfe717
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@
|
||||||
(ex/raise :type :authentication
|
(ex/raise :type :authentication
|
||||||
:code :unable-to-authenticate-with-github))
|
: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)
|
profile (method-fn {:email (:email info)
|
||||||
:fullname (:fullname info)})
|
:fullname (:fullname info)})
|
||||||
uagent (get-in request [:headers "user-agent"])
|
uagent (get-in request [:headers "user-agent"])
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
(ex/raise :type :authentication
|
(ex/raise :type :authentication
|
||||||
:code :unable-to-authenticate-with-google))
|
: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)
|
profile (method-fn {:email (:email info)
|
||||||
:fullname (:fullname info)})
|
:fullname (:fullname info)})
|
||||||
uagent (get-in request [:headers "user-agent"])
|
uagent (get-in request [:headers "user-agent"])
|
||||||
|
|
Loading…
Reference in a new issue