mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-11 18:14:25 +00:00
193 transaction removed
This commit is contained in:
parent
559f4f4212
commit
78d8b2885d
@ -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]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user