Skip to content

Commit

Permalink
Never count unpaid items
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzyis committed Nov 16, 2024
1 parent 6fd784f commit 12c70dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/resolvers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ export default {
gte,
lte
},
...(me?.id === user.id ? {} : { OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }] })
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
Expand All @@ -941,7 +941,7 @@ export default {
gte,
lte
},
...(me?.id === user.id ? {} : { OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }] })
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
Expand All @@ -959,7 +959,7 @@ export default {
gte,
lte
},
...(me?.id === user.id ? {} : { OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }] })
OR: [{ invoiceActionState: 'PAID' }, { invoiceActionState: null }]
}
})
},
Expand Down

0 comments on commit 12c70dd

Please sign in to comment.