diff options
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}`); |
