commit 5064bf3bed6c9a8d9000ef5f76365165fccc66a7
parent 3d4d6742162163efdd3843697d7d4651750aeecb
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 5 Jul 2026 23:42:46 +0200
typo
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_dispatcher.c b/src/backend/taler-merchant-httpd_dispatcher.c
@@ -634,7 +634,7 @@ determine_handler_group (const char **urlp,
/* GET /otp-devices: */
{
.url_prefix = "/otp-devices",
- .permission = "opt-devices-read",
+ .permission = "otp-devices-read",
.method = MHD_HTTP_METHOD_GET,
.handler = &TMH_private_get_otp_devices
},
diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c
@@ -673,6 +673,8 @@ TMH_EXCHANGES_lookup_wire_fee (
if (NULL == fbm)
return GNUNET_NO;
af = fbm->af;
+ if (NULL == af)
+ return GNUNET_NO;
*wire_fee = af->fees.wire;
return GNUNET_OK;
}