Openstatus www.openstatus.dev

๐Ÿ› monitor regions (#1219)

* ๐Ÿ› monitor regions

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Thibault Le Ouay
autofix-ci[bot]
and committed by
GitHub
cd1f4fc7 407c23a4

+2 -1
+2 -1
apps/workflows/src/checker/index.ts
··· 3 3 import { Hono } from "hono"; 4 4 import { z } from "zod"; 5 5 6 - import { and, count, db, eq, isNull, schema } from "@openstatus/db"; 6 + import { and, count, db, eq, inArray, isNull, schema } from "@openstatus/db"; 7 7 import { incidentTable, workspace } from "@openstatus/db/src/schema"; 8 8 import { 9 9 monitorStatusSchema, ··· 85 85 and( 86 86 eq(schema.monitorStatusTable.monitorId, monitor.id), 87 87 eq(schema.monitorStatusTable.status, status), 88 + inArray(schema.monitorStatusTable.region, monitor.regions), 88 89 ), 89 90 ) 90 91 .get();