mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-04 02:09:43 +02:00
🚧 toggle server admin
This commit is contained in:
@@ -1379,9 +1379,9 @@ if (build !== "saas") {
|
||||
);
|
||||
|
||||
authenticated.post(
|
||||
"/user/:userId/promote-server-admin",
|
||||
"/user/:userId/server-admin",
|
||||
verifyUserIsServerAdmin,
|
||||
user.adminPromoteServerAdmin
|
||||
user.adminSetServerAdmin
|
||||
);
|
||||
|
||||
authenticated.delete(
|
||||
|
||||
Reference in New Issue
Block a user