fix deposits not showing up in notifications
This commit is contained in:
parent
14d2573dd2
commit
2afb8dc231
|
@ -205,7 +205,7 @@ export default {
|
|||
FROM "Invoice"
|
||||
WHERE "Invoice"."userId" = $1
|
||||
AND "confirmedAt" IS NOT NULL
|
||||
AND NOT "isHeld"
|
||||
AND "isHeld" IS NULL
|
||||
AND created_at <= $2
|
||||
ORDER BY "sortTime" DESC
|
||||
LIMIT ${LIMIT}+$3)`
|
||||
|
|
|
@ -422,9 +422,7 @@ export default {
|
|||
confirmedAt: {
|
||||
gt: lastChecked
|
||||
},
|
||||
isHeld: {
|
||||
not: true
|
||||
}
|
||||
isHeld: null
|
||||
}
|
||||
})
|
||||
if (invoice) {
|
||||
|
|
Loading…
Reference in New Issue