From 67363129286674cd6845960646891b4a23fc928c Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 15:58:40 +0200 Subject: settings: allow invoice_our_ref --- src/commands.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commands.c') diff --git a/src/commands.c b/src/commands.c index 5dd920e..fe6eeb8 100644 --- a/src/commands.c +++ b/src/commands.c @@ -2755,6 +2755,8 @@ static yyjson_mut_val *h_settings_set(struct req *r) } else if (strcmp(key, "invoice_bankgiro") == 0) { maxlen = 16; bankgiro = 1; + } else if (strcmp(key, "invoice_our_ref") == 0) { + maxlen = 64; } else return fail(r, "UNSUPPORTED", "unknown setting"); size_t len = strlen(value); -- cgit v1.3