Skip to content

Commit

Permalink
fix: remove url schema (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkaske authored Nov 28, 2024
1 parent 01d327d commit 7929e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/server/src/v1/monitors/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const MonitorSchema = z
example: "1m",
description: "How often the monitor should run",
}),
url: z.string().url().openapi({
url: z.string().openapi({
example: "https://www.documenso.co",
description: "The url to monitor",
}),
Expand Down Expand Up @@ -268,7 +268,7 @@ export const ResultRun = z.object({
latency: z.number().int(), // in ms
statusCode: z.number().int().nullable().default(null),
monitorId: z.string().default(""),
url: z.string().url().optional(),
url: z.string().optional(),
error: z
.number()
.default(0)
Expand Down

0 comments on commit 7929e2a

Please sign in to comment.