FIX: Transaction Route names
FIX: Bug where belonging transactions wouldnt select properly
This commit is contained in:
@@ -69,7 +69,7 @@ const getBelongingInventory = async (belongingId) => {
|
||||
const result = await Transaction.aggregate([
|
||||
{
|
||||
$match: {
|
||||
belongingId: ObjectID,
|
||||
belongingId: belonging._id,
|
||||
$or: [{ status: 'finished' }, { status: 'pending' }],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user