From af7d42891c794ca9aae709c194d90a1fe1ee2bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Tue, 9 Jan 2024 14:41:20 +0100 Subject: [PATCH] fixed location list fetch --- app/lib/locationActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");