mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-28 00:54:16 +00:00
add permision check
This commit is contained in:
@@ -32,6 +32,7 @@ router.post(
|
||||
"/",
|
||||
route({
|
||||
requestBody: "MessageThreadCreationSchema",
|
||||
permission: "CREATE_PUBLIC_THREADS",
|
||||
responses: {
|
||||
200: {},
|
||||
403: {},
|
||||
|
||||
Reference in New Issue
Block a user