diff options
Diffstat (limited to 'lib/invoices.js')
| -rw-r--r-- | lib/invoices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.js b/lib/invoices.js index 55223674..b07ac1f5 100644 --- a/lib/invoices.js +++ b/lib/invoices.js @@ -42,7 +42,7 @@ export let generate = async ({ invoice, user, sender }) => { if (amount < 0) fail("invalid amount"); if (tip < 0) fail("invalid tip"); if (rate < 0) fail("invalid rate"); - if (memo && memo.length > 200) fail("memo too long"); + if (memo && memo.length > 5000) fail("memo too long"); let id = v4(); |
