aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.ts
diff options
context:
space:
mode:
Diffstat (limited to 'routes/payments.ts')
-rw-r--r--routes/payments.ts2
1 files changed, 1 insertions, 1 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);