Skip to content

Commit

Permalink
📝 Typo api (#1041)
Browse files Browse the repository at this point in the history
* add missing field api

* 📝 typo

* ci: apply automated fixes

* 🧪 fix tests

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
thibaultleouay and autofix-ci[bot] authored Oct 8, 2024
1 parent 789a55d commit fcbecff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/server/src/v1/monitors/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ export const MonitorSchema = z
.boolean()
.default(false)
.openapi({ description: "If the monitor is public" }),
degratedAfter: z.number().optional().openapi({
description: "The time after the monitor is considered degrated",
degradedAfter: z.number().nullish().openapi({
description: "The time after the monitor is considered degraded",
}),
timeout: z.number().optional().openapi({
timeout: z.number().nullish().openapi({
description: "The timeout of the request",
}),
})
Expand Down

0 comments on commit fcbecff

Please sign in to comment.