mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 21:53:46 +00:00
fix responce types
This commit is contained in:
1 parent
b7536c74c4
commit
a0930a4dca
1 file changed
+6
-2
@@ -29,7 +29,9 @@ router.post(
|
||||
requestBody: "TagCreateSchema",
|
||||
permission: "MANAGE_CHANNELS",
|
||||
responses: {
|
||||
201: {},
|
||||
200: {
|
||||
body: "Channel",
|
||||
},
|
||||
404: {},
|
||||
},
|
||||
}),
|
||||
@@ -71,7 +73,9 @@ router.delete(
|
||||
route({
|
||||
permission: "MANAGE_CHANNELS",
|
||||
responses: {
|
||||
201: {},
|
||||
200: {
|
||||
body: "Channel",
|
||||
},
|
||||
404: {},
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user