Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿš€ more improvement (#1268)

authored by

Thibault Le Ouay and committed by
GitHub
af7e82da 430187d4

+4 -1
+1
apps/server/src/routes/v1/monitors/post_http.ts
··· 101 101 .values({ 102 102 ...rest, 103 103 periodicity: input.frequency, 104 + jobType: "http", 104 105 url: request.url, 105 106 method: request.method, 106 107 body: request.body,
+2
apps/server/src/routes/v1/monitors/post_tcp.ts
··· 88 88 .insert(monitor) 89 89 .values({ 90 90 ...rest, 91 + jobType: "tcp", 92 + periodicity: input.frequency, 91 93 url: `${request.host}:${request.port}`, 92 94 workspaceId: workspaceId, 93 95 regions: regions ? regions.join(",") : undefined,
+1 -1
apps/server/src/routes/v1/monitors/schema.ts
··· 125 125 example: "Documenso website", 126 126 description: "The description of your monitor", 127 127 }), 128 - method: z.enum(monitorMethods).default("GET").openapi({ example: "GET" }), 128 + method: z.enum(monitorMethods).openapi({ example: "GET" }), 129 129 body: z 130 130 .preprocess((val) => { 131 131 return String(val);