fixing typescript errors

This commit is contained in:
2024-02-08 14:48:49 +01:00
parent 568509fc41
commit 0128d46a32
4 changed files with 4 additions and 6 deletions

View File

@@ -1,9 +1,8 @@
import { fetchAllLocations } from '@/app/lib/actions/locationActions';
import type { NextApiRequest } from 'next'
import { NextResponse } from 'next/server';
export const GET = async (
req: NextApiRequest,
req: Request,
) => {
// get year from query params
const url = new URL(req.url as string);