Skip to content

Commit

Permalink
Add debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
lanttu1243 committed Oct 23, 2024
1 parent a81d344 commit 0bb9740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/app/next_api/fetch-hsl-stops/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const dynamic = "force-dynamic";

export async function GET() {
const stops = await Promise.all(STOPS.map(getStop));

console.log(stops)
const dataFromHsl: RenderableStop[] = stops.filter(
<T>(stop: T | null): stop is T => stop !== null,
);
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/lib/fetcher.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { type RenderableStop } from "./types/hsl-helper-types.ts";


async function wait(s: number): Promise<void> {
await new Promise((resolve) => {
setTimeout(resolve, 1000 * s);
Expand Down

0 comments on commit 0bb9740

Please sign in to comment.