BugFix: fixing types
This commit is contained in:
@@ -110,7 +110,7 @@ export const fetchAllLocations = withUser(async (user:AuthenticatedUser, year:nu
|
||||
|
||||
// fetch all locations for the given year
|
||||
const locations = await dbClient.collection<BillingLocation>("lokacije")
|
||||
.aggregate([
|
||||
.aggregate<BillingLocation>([
|
||||
{
|
||||
$match: {
|
||||
userId,
|
||||
|
||||
Reference in New Issue
Block a user