diff options
| author | Adam Soltys <[email protected]> | 2024-09-25 09:44:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-25 09:44:29 -0700 |
| commit | 61d246e1bca5566c93486312818e02b8a8aa70b3 (patch) | |
| tree | 3382a5db19e0dff6280232e77f3fd9f7cb1b0587 /lib | |
| parent | 9ef8f0eea743929207009d0f42b9ba44eec00641 (diff) | |
| download | coinos-server-61d246e1bca5566c93486312818e02b8a8aa70b3.tar.gz coinos-server-61d246e1bca5566c93486312818e02b8a8aa70b3.zip | |
push to account invoices
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/invoices.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts index d7f09de5..a17288ca 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -126,7 +126,7 @@ export let generate = async ({ invoice, user }) => { await s(`invoice:${hash}`, id); await s(`invoice:${id}`, invoice); - await db.lPush(`${user.id}:invoices`, id); + await db.lPush(`${aid}:invoices`, id); if (request_id) { let request = await g(`request:${request_id}`); |
