fixed location list fetch

This commit is contained in:
2024-01-09 14:41:20 +01:00
parent c7b4829d03
commit af7d42891c

View File

@@ -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 client = await clientPromise;
const db = client.db("rezije"); const db = client.db("rezije");