Skip to content

Commit

Permalink
chore: increase invoice description maximum length
Browse files Browse the repository at this point in the history
  • Loading branch information
lajp committed Aug 19, 2024
1 parent d39519d commit 52475ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/invoices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 52475ac

Please sign in to comment.