fixed typescript error
This commit is contained in:
@@ -402,7 +402,7 @@ export const deleteBillById = withUser(async (user:AuthenticatedUser, locationID
|
|||||||
filter: { _id: loc._id, userId },
|
filter: { _id: loc._id, userId },
|
||||||
update: {
|
update: {
|
||||||
$pull: {
|
$pull: {
|
||||||
bills: { name: bill.name }
|
bills: { name: bill.name } as Partial<Bill>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user