commit 70539cb0f5e9b60dbbb40009687f2d635763226b
parent 9297ef949607a6d6597b5c91e683e449f00394df
Author: Sebastian <sebasjm@gmail.com>
Date: Thu, 14 Dec 2023 14:07:30 -0300
fix: account restriction regex field
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/exchange-tools/taler-exchange-offline.c b/src/exchange-tools/taler-exchange-offline.c
@@ -3052,7 +3052,7 @@ parse_restriction (char *const *args,
GNUNET_JSON_PACK (
GNUNET_JSON_pack_string ("type",
"regex"),
- GNUNET_JSON_pack_string ("regex",
+ GNUNET_JSON_pack_string ("payto_regex",
args[1]),
GNUNET_JSON_pack_string ("human_hint",
args[2]),
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
@@ -2045,7 +2045,7 @@ ar_to_json (unsigned int ar_len,
"type",
"regex"),
GNUNET_JSON_pack_string (
- "regex",
+ "payto_regex",
ar->details.regex.posix_egrep),
GNUNET_JSON_pack_string (
"human_hint",