backfill missing query params

This commit is contained in:
Puyodead1
2023-04-13 15:24:37 -04:00
parent 0dc5b19bd8
commit 787de50140
2 changed files with 28 additions and 0 deletions
@@ -76,6 +76,22 @@ export function isTextChannel(type: ChannelType): boolean {
router.get(
"/",
route({
query: {
around: {
type: "string",
},
before: {
type: "string",
},
after: {
type: "string",
},
limit: {
type: "number",
description:
"max number of messages to return (1-100). defaults to 50",
},
},
responses: {
200: {
body: "ChannelMessagesResponse",