193 transaction removed

This commit is contained in:
Ivan Grishaev 2017-12-27 21:07:42 +03:00
parent 559f4f4212
commit 78d8b2885d

View File

@ -240,8 +240,7 @@
:auth-rules authenticated? :auth-rules authenticated?
:body-params [user-id :- Long, hidden :- Boolean] :body-params [user-id :- Long, hidden :- Boolean]
:summary "(Un)mark a user as being hidden (not visible in rating tables)." :summary "(Un)mark a user as being hidden (not visible in rating tables)."
(db/with-trx (db/update! :users {:is_hidden hidden} ["id = ?" user-id])
(db/update! :users {:is_hidden hidden} ["id = ?" user-id]))
(ok)) (ok))
(GET "/repositories" {:keys [params]} (GET "/repositories" {:keys [params]}