diff options
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/payments.ts | 2 | ||||
| -rw-r--r-- | routes/users.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/routes/payments.ts b/routes/payments.ts index d4993b87..81e76085 100644 --- a/routes/payments.ts +++ b/routes/payments.ts @@ -279,7 +279,7 @@ export default { await s(`payment:${p.id}`, p); if (aid) await db.sRem(`inflight:${aid}`, p.id); } else { - if (aid) await db.sAdd(`inflight:${aid}`, p.id); + if (aid) await db.sAdd(`inflight:${aid}`, p.id); } emit(p.uid, "payment", p); diff --git a/routes/users.ts b/routes/users.ts index 34d20584..26a4b8f3 100644 --- a/routes/users.ts +++ b/routes/users.ts @@ -602,7 +602,7 @@ export default { let account = await g(`account:${id}`); account.balance = await g(`balance:${id}`); - if (account.seed) await reconcile(account); + if (account.seed) reconcile(account); accounts.push(account); } |
