commit 509d4b45c78cbcbefecf26ac0947d6ae21a490bd
parent a5366e168023535867c67fa81aeff15addf184e6
Author: Sebastian <sebasjm@gmail.com>
Date: Thu, 18 Jan 2024 16:00:56 -0300
fix: match PATCH otp with spec
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_private-patch-otp-devices-ID.c b/src/backend/taler-merchant-httpd_private-patch-otp-devices-ID.c
@@ -39,7 +39,7 @@ TMH_private_patch_otp_devices_ID (const struct TMH_RequestHandler *rh,
enum GNUNET_DB_QueryStatus qs;
uint32_t otp_algorithm;
struct GNUNET_JSON_Specification spec[] = {
- GNUNET_JSON_spec_string ("otp_description",
+ GNUNET_JSON_spec_string ("otp_device_description",
(const char **) &tp.otp_description),
GNUNET_JSON_spec_uint32 ("otp_algorithm",
&otp_algorithm),