fixed typescript error

This commit is contained in:
2025-08-11 12:49:10 +02:00
parent be104561c2
commit d42a7da75b

View File

@@ -402,7 +402,7 @@ export const deleteBillById = withUser(async (user:AuthenticatedUser, locationID
filter: { _id: loc._id, userId },
update: {
$pull: {
bills: { name: bill.name }
bills: { name: bill.name } as Partial<Bill>
}
}
}