mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 20:09:04 -05:00
🐛 Fix login and logout remo handlers.
This commit is contained in:
parent
170d815620
commit
dcd797888c
1 changed files with 2 additions and 2 deletions
|
@ -122,14 +122,14 @@
|
|||
|
||||
(defmethod mutation :login
|
||||
[id params]
|
||||
(let [url (str url "/login")]
|
||||
(let [url (str url "/api/login")]
|
||||
(->> (impl-send {:method :post :url url :body params})
|
||||
(rx/map conditional-decode)
|
||||
(rx/mapcat handle-response))))
|
||||
|
||||
(defmethod mutation :logout
|
||||
[id params]
|
||||
(let [url (str url "/logout")]
|
||||
(let [url (str url "/api/logout")]
|
||||
(->> (impl-send {:method :post :url url :body params :auth false})
|
||||
(rx/map conditional-decode)
|
||||
(rx/mapcat handle-response))))
|
||||
|
|
Loading…
Add table
Reference in a new issue