You've already forked AstralRinth
forked from didirus/AstralRinth
Skip synchronizing transactions to Anrok if missing payment intent ID (#4446)
* Skip succeeded txns with no payment platform ID * chore: query cache, clippy, fmt
This commit is contained in:
committed by
GitHub
parent
895b040ad7
commit
beb1bdb31f
@@ -351,6 +351,7 @@ impl DBCharge {
|
||||
WHERE
|
||||
status = 'succeeded'
|
||||
AND tax_platform_id IS NULL
|
||||
AND payment_platform_id IS NOT NULL
|
||||
ORDER BY due ASC
|
||||
FOR NO KEY UPDATE SKIP LOCKED
|
||||
LIMIT $1
|
||||
|
||||
Reference in New Issue
Block a user