Skip to content

Open-source status page, incident response and uptime monitoring

🚑 (#229)

Thibault Le Ouay67f37b238af1
diff --git a/packages/db/src/schema/monitor.ts b/packages/db/src/schema/monitor.ts
index 89fcb5aa5..c4696bc80 100644
--- a/packages/db/src/schema/monitor.ts
+++ b/packages/db/src/schema/monitor.ts
@@ -144,6 +144,7 @@ export const selectMonitorSchema = createSelectSchema(monitor, {
}
}, z.array(RegionEnum))
.default([]),
+ method: z.enum(METHODS).default("GET"),
});
export const selectMonitorExtendedSchema = selectMonitorSchema.extend({