aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 15:58:40 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 15:58:40 +0200
commit67363129286674cd6845960646891b4a23fc928c (patch)
tree2c116c38fb177a823a5710cd79afa31442c95aff /src
parentc0d08b0880dcce7337d9bdf046c93b318a84c2dc (diff)
downloadbokf-67363129286674cd6845960646891b4a23fc928c.tar.gz
bokf-67363129286674cd6845960646891b4a23fc928c.zip
settings: allow invoice_our_ref
Diffstat (limited to 'src')
-rw-r--r--src/commands.c2
1 files changed, 2 insertions, 0 deletions
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);