Skip to content

Commit

Permalink
Don't show invoices with pending attempts in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzyis committed Jan 7, 2025
1 parent 69d12f1 commit 942fcff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/resolvers/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export default {
WHERE "Invoice"."userId" = $1
AND "Invoice"."updated_at" < $2
AND "Invoice"."actionState" = 'FAILED'
AND "Invoice"."retry" >= 2
AND (
"Invoice"."actionType" = 'ITEM_CREATE' OR
"Invoice"."actionType" = 'ZAP' OR
Expand Down

0 comments on commit 942fcff

Please sign in to comment.