diff options
| author | Adam Soltys <[email protected]> | 2025-05-30 19:30:19 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-05-30 19:30:20 +0000 |
| commit | 34774759b233c1535c74a7f2783ffd40a542ab9d (patch) | |
| tree | c706cd20bc50274c0124fbdc736f090136ff37ce /lib/payments.ts | |
| parent | 567512dd152616667e641f6f0395c2635e1159dd (diff) | |
| download | coinos-server-34774759b233c1535c74a7f2783ffd40a542ab9d.tar.gz coinos-server-34774759b233c1535c74a7f2783ffd40a542ab9d.zip | |
track payments
Diffstat (limited to 'lib/payments.ts')
| -rw-r--r-- | lib/payments.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/payments.ts b/lib/payments.ts index 9c9f1794..437db14f 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -160,6 +160,7 @@ export const debit = async ({ await s(`payment:${id}`, p); await db .multi() + .lPush("payments", id) .lPush(`${aid || uid}:payments`, id) .set(`${aid || uid}:payments:last`, p.created) .exec(); |
