diff --git a/app/lib/locationActions.ts b/app/lib/locationActions.ts index b173294..2f68180 100644 --- a/app/lib/locationActions.ts +++ b/app/lib/locationActions.ts @@ -90,7 +90,7 @@ export const updateOrAddLocation = withUser(async (user:AuthenticatedUser, locat }); -export const fetchAllLocations = withUser(async (user:AuthenticatedUser, locationID:string, pageIx:number=0, pageSize:number=20) => { +export const fetchAllLocations = withUser(async (user:AuthenticatedUser, pageIx:number=0, pageSize:number=20) => { const client = await clientPromise; const db = client.db("rezije");