diff options
author | Sebastian <sebasjm@gmail.com> | 2023-12-14 14:07:30 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-12-14 14:07:30 -0300 |
commit | 70539cb0f5e9b60dbbb40009687f2d635763226b (patch) | |
tree | b2b55d3d753e695b90e8576d5089fcf411d70942 | |
parent | 9297ef949607a6d6597b5c91e683e449f00394df (diff) |
fix: account restriction regex field
-rw-r--r-- | src/exchange-tools/taler-exchange-offline.c | 2 | ||||
-rw-r--r-- | src/lib/exchange_api_handle.c | 2 |
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 index 1a8d61e70..7380e6079 100644 --- 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 index 1d44ed34f..4b0298744 100644 --- 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", |