diff options
| -rw-r--r-- | routes/invoices.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routes/invoices.ts b/routes/invoices.ts index 430c926d..54b1a30b 100644 --- a/routes/invoices.ts +++ b/routes/invoices.ts @@ -58,6 +58,8 @@ export default { let invoice = await g(`invoice:${id}`); const user = await g(`user:${invoice.uid}`); invoice.tip = body.invoice.tip; + invoice.webhook = body.invoice.webhook; + invoice.secret = body.invoice.secret; invoice = await generate({ invoice, user }); await s(`invoice:${id}`, invoice); |
