summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);