Skip to content

Commit 2bb6d08

Browse files
authored
chore: play checker available regions (#1455)
1 parent 14601d3 commit 2bb6d08

File tree

1 file changed

+2
-2
lines changed
  • apps/web/src/app/(pages)/(content)/play/checker/api

1 file changed

+2
-2
lines changed

apps/web/src/app/(pages)/(content)/play/checker/api/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from "@/components/ping-response-analysis/utils";
77
import { iteratorToStream, yieldMany } from "@/lib/stream";
88
import { wait } from "@/lib/utils";
9-
import { monitorRegions } from "@openstatus/db/src/schema/constants";
9+
import { AVAILABLE_REGIONS } from "@openstatus/regions";
1010
import { mockCheckRegion } from "./mock";
1111

1212
export const runtime = "edge";
@@ -23,7 +23,7 @@ async function* makeIterator({
2323
id: string;
2424
}) {
2525
// Create an array to store all the promises
26-
const promises = monitorRegions.map(async (region, index) => {
26+
const promises = AVAILABLE_REGIONS.map(async (region, index) => {
2727
try {
2828
// Perform the fetch operation
2929
const check =

0 commit comments

Comments
 (0)