mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix routing for the user permissions handler
This commit is contained in:
parent
57ef5e27dd
commit
cbc73b7e92
@ -62,8 +62,8 @@ def api_handlers(handler_args):
|
|||||||
handler_args,
|
handler_args,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
r"/api/v2/users/([0-9]+)/pfp/?",
|
r"/api/v2/users/([0-9]+)/permissions/?",
|
||||||
ApiUsersUserPfpHandler,
|
ApiUsersUserPermissionsHandler,
|
||||||
handler_args,
|
handler_args,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
@ -71,6 +71,11 @@ def api_handlers(handler_args):
|
|||||||
ApiUsersUserPermissionsHandler,
|
ApiUsersUserPermissionsHandler,
|
||||||
handler_args,
|
handler_args,
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
r"/api/v2/users/([0-9]+)/pfp/?",
|
||||||
|
ApiUsersUserPfpHandler,
|
||||||
|
handler_args,
|
||||||
|
),
|
||||||
(
|
(
|
||||||
r"/api/v2/users/(@me)/pfp/?",
|
r"/api/v2/users/(@me)/pfp/?",
|
||||||
ApiUsersUserPfpHandler,
|
ApiUsersUserPfpHandler,
|
||||||
|
Loading…
Reference in New Issue
Block a user