diff options
author | Puyodead1 <puyodead@proton.me> | 2023-03-27 15:51:34 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-04-13 15:44:39 -0400 |
commit | 866eb15d90f35cc789bfacea4b70b904471d8eae (patch) | |
tree | e63e01e5860c8190e2829a0919c76c5bd7b535df /src/api/routes/channels | |
parent | oapi: fix a few response types in auth (diff) | |
download | server-866eb15d90f35cc789bfacea4b70b904471d8eae.tar.xz |
clusterfuck
Diffstat (limited to 'src/api/routes/channels')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/api/routes/channels/#channel_id/invites.ts b/src/api/routes/channels/#channel_id/invites.ts index d2874872..f608cca2 100644 --- a/src/api/routes/channels/#channel_id/invites.ts +++ b/src/api/routes/channels/#channel_id/invites.ts @@ -96,7 +96,7 @@ router.get( permission: "MANAGE_CHANNELS", responses: { 200: { - body: "ChannelInvitesResponse", + body: "APIInviteArray", }, 404: {}, }, diff --git a/src/api/routes/channels/#channel_id/messages/index.ts b/src/api/routes/channels/#channel_id/messages/index.ts index 3d6cc596..551efb4e 100644 --- a/src/api/routes/channels/#channel_id/messages/index.ts +++ b/src/api/routes/channels/#channel_id/messages/index.ts @@ -94,7 +94,7 @@ router.get( }, responses: { 200: { - body: "ChannelMessagesResponse", + body: "APIMessageArray", }, 400: { body: "APIErrorResponse", diff --git a/src/api/routes/channels/#channel_id/pins.ts b/src/api/routes/channels/#channel_id/pins.ts index 7b379c30..724ebffd 100644 --- a/src/api/routes/channels/#channel_id/pins.ts +++ b/src/api/routes/channels/#channel_id/pins.ts @@ -138,7 +138,7 @@ router.get( permission: ["READ_MESSAGE_HISTORY"], responses: { 200: { - body: "ChannelPinsResponse", + body: "APIMessageArray", }, 400: { body: "APIErrorResponse", diff --git a/src/api/routes/channels/#channel_id/webhooks.ts b/src/api/routes/channels/#channel_id/webhooks.ts index 17437301..6b81298f 100644 --- a/src/api/routes/channels/#channel_id/webhooks.ts +++ b/src/api/routes/channels/#channel_id/webhooks.ts @@ -41,7 +41,7 @@ router.get( route({ responses: { 200: { - body: "ChannelWebhooksResponse", + body: "APIWebhookArray", }, }, }), |