Skip to content

Commit d76d493

Browse files
committed
Fix build type errors
1 parent 6682c3f commit d76d493

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/web/app/(ee)/api/events/export/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const GET = withWorkspace(
5858
.parse(searchParams);
5959

6060
const { event, domain, interval, start, end, columns, key, folderId } =
61-
parsedParams;
61+
parsedParams as any; // TODO: xavier find a better fix for types
6262

6363
if (domain) {
6464
await getDomainOrThrow({ workspace, domain });

apps/web/app/(ee)/api/events/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const GET = withWorkspace(
2727
domain,
2828
key,
2929
folderId,
30-
} = parsedParams;
30+
} = parsedParams as any; // TODO: xavier find a better fix for types
3131

3232
let link: Link | null = null;
3333

0 commit comments

Comments
 (0)