allow not specifying a limit on messages endpoint
This commit is contained in:
parent
d55f4f3322
commit
287855336d
@ -756,7 +756,7 @@ export namespace Server {
|
||||
validator(
|
||||
"query",
|
||||
z.object({
|
||||
limit: z.coerce.number(),
|
||||
limit: z.coerce.number().optional(),
|
||||
}),
|
||||
),
|
||||
async (c) => {
|
||||
|
||||
@ -1979,9 +1979,9 @@ export type SessionMessagesData = {
|
||||
*/
|
||||
id: string
|
||||
}
|
||||
query: {
|
||||
query?: {
|
||||
directory?: string
|
||||
limit: number
|
||||
limit?: number
|
||||
}
|
||||
url: "/session/{id}/message"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user