From 52475acf75e946b05231b1ad4ff1f9d1c74b2ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luukas=20P=C3=B6rtfors?= Date: Mon, 19 Aug 2024 20:04:46 +0300 Subject: [PATCH] chore: increase invoice description maximum length --- src/api/invoices.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/invoices.rs b/src/api/invoices.rs index 81bf1c1..14c265c 100644 --- a/src/api/invoices.rs +++ b/src/api/invoices.rs @@ -50,7 +50,7 @@ pub struct Invoice { pub bank_account_number: String, #[garde(byte_length(min = 1, max = 128))] pub subject: String, - #[garde(byte_length(max = 512))] + #[garde(byte_length(max = 4096))] pub description: String, #[garde(phone_number, byte_length(max = 32))] pub phone_number: String,