mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-25 03:34:22 +01:00
allow not specifying a limit on messages endpoint
This commit is contained in:
@@ -756,7 +756,7 @@ export namespace Server {
|
||||
validator(
|
||||
"query",
|
||||
z.object({
|
||||
limit: z.coerce.number(),
|
||||
limit: z.coerce.number().optional(),
|
||||
}),
|
||||
),
|
||||
async (c) => {
|
||||
|
||||
Reference in New Issue
Block a user