From be36768e5fc20cb580477bd72989b8246fc3f9d6 Mon Sep 17 00:00:00 2001 From: Redm4x <2829180+Redm4x@users.noreply.github.com> Date: Fri, 3 May 2024 15:39:56 -0400 Subject: [PATCH] fix: fix dseq type in leases duration internal endpoint --- api/src/routes/internal/leasesDuration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/routes/internal/leasesDuration.ts b/api/src/routes/internal/leasesDuration.ts index 3d713005b..1b9488574 100644 --- a/api/src/routes/internal/leasesDuration.ts +++ b/api/src/routes/internal/leasesDuration.ts @@ -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" }) })