lint :all-the-things:

This commit is contained in:
Gabriel Horner
2022-01-13 16:32:12 -05:00
committed by Tienson Qin
parent 2401ce9e9a
commit 3ec587d6eb
45 changed files with 338 additions and 415 deletions

View File

@@ -19,10 +19,10 @@
(when (email? email)
(util/post (str config/api "email")
{:email email}
(fn [result]
(fn [_result]
(db/transact! [{:me/email email}])
(swap! state/state assoc-in [:me :email] email))
(fn [error]
(fn [_error]
(notification/show! "Email already exists!"
:error)))))
@@ -30,7 +30,7 @@
[cors-proxy]
(util/post (str config/api "cors_proxy")
{:cors-proxy cors-proxy}
(fn [result]
(fn [_result]
(db/transact! [{:me/cors_proxy cors-proxy}])
(swap! state/state assoc-in [:me :cors_proxy] cors-proxy))
(fn [error]