0
Fork 0
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:
Andrey Antukh 2021-01-08 13:30:52 +01:00
parent ff7330048b
commit df4adfe717
2 changed files with 2 additions and 2 deletions

View file

@ -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"])

View file

@ -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"])