diff --git a/app/lib/actions/locationActions.ts b/app/lib/actions/locationActions.ts index f523eae..d90d792 100644 --- a/app/lib/actions/locationActions.ts +++ b/app/lib/actions/locationActions.ts @@ -113,7 +113,7 @@ export const fetchAllLocations = withUser(async (user:AuthenticatedUser, year:nu { projection: { // don't include the attachment binary data in the response - "bill.attachment.fileContentsBase64": 0, + "bills.attachment.fileContentsBase64": 0 }, } ) @@ -126,7 +126,7 @@ export const fetchAllLocations = withUser(async (user:AuthenticatedUser, year:nu // await asyncTimeout(1000); - return(locations); + return(locations) }) export const fetchLocationById = withUser(async (user:AuthenticatedUser, locationID:string) => { @@ -144,7 +144,7 @@ export const fetchLocationById = withUser(async (user:AuthenticatedUser, locatio { projection: { // don't include the attachment binary data in the response - "bill.attachment.fileContentsBase64": 0, + "bills.attachment.fileContentsBase64": 0, }, } );