mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 21:51:38 +02:00
🐛 Fix corner cases on invitation/signup flows.
This commit is contained in:
parent
784a4f8ecd
commit
4991cae5ad
11 changed files with 223 additions and 149 deletions
|
@ -81,19 +81,19 @@
|
|||
(defmethod mutation :login-with-google
|
||||
[id params]
|
||||
(let [uri (str cfg/public-uri "/api/oauth/google")]
|
||||
(->> (http/send! {:method :post :uri uri})
|
||||
(->> (http/send! {:method :post :uri uri :query params})
|
||||
(rx/mapcat handle-response))))
|
||||
|
||||
(defmethod mutation :login-with-gitlab
|
||||
[id params]
|
||||
(let [uri (str cfg/public-uri "/api/oauth/gitlab")]
|
||||
(->> (http/send! {:method :post :uri uri})
|
||||
(->> (http/send! {:method :post :uri uri :query params})
|
||||
(rx/mapcat handle-response))))
|
||||
|
||||
(defmethod mutation :login-with-github
|
||||
[id params]
|
||||
(let [uri (str cfg/public-uri "/api/oauth/github")]
|
||||
(->> (http/send! {:method :post :uri uri})
|
||||
(->> (http/send! {:method :post :uri uri :query params})
|
||||
(rx/mapcat handle-response))))
|
||||
|
||||
(defmethod mutation :upload-file-media-object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue