Skip to content

Commit

Permalink
fix: fix dseq type in leases duration internal endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Redm4x committed May 3, 2024
1 parent 2dece1f commit be36768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/routes/internal/leasesDuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const route = createRoute({
owner: z.string().openapi({ example: openApiExampleAddress })
}),
query: z.object({
dseq: z.number().optional(),
dseq: z.string().optional().openapi({ type: "number" }),
startDate: z.string().optional().openapi({ format: "YYYY-MM-DD" }),
endDate: z.string().optional().openapi({ format: "YYYY-MM-DD" })
})
Expand Down

0 comments on commit be36768

Please sign in to comment.