aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorChristian Blättler <blatc2@bfh.ch>2024-06-13 17:46:44 +0200
committerChristian Blättler <blatc2@bfh.ch>2024-06-13 17:46:44 +0200
commitcf4679e7b21cafa878903cf679167a7e90c8ac61 (patch)
tree89ca26a94facb5c8275ea1c68a98b75fe500169c /src/backend
parentd72b878a0e33aa1f312547c56c75fcd6f7cd6cc1 (diff)
“redeemed” —> “used"
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-token-families-SLUG.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-token-families-SLUG.c b/src/backend/taler-merchant-httpd_private-get-token-families-SLUG.c
index 12e57a99..92e1bb82 100644
--- a/src/backend/taler-merchant-httpd_private-get-token-families-SLUG.c
+++ b/src/backend/taler-merchant-httpd_private-get-token-families-SLUG.c
@@ -94,9 +94,8 @@ TMH_private_get_tokenfamilies_SLUG (const struct TMH_RequestHandler *rh,
GNUNET_JSON_pack_timestamp ("valid_before", details.valid_before),
GNUNET_JSON_pack_time_rel ("duration", details.duration),
GNUNET_JSON_pack_string ("kind", kind),
- // TODO: Implement
- GNUNET_JSON_pack_int64 ("issued", 0),
- GNUNET_JSON_pack_int64 ("redeemed", 0)
+ GNUNET_JSON_pack_int64 ("issued", details.issued),
+ GNUNET_JSON_pack_int64 ("used", details.used)
);
GNUNET_free (details.name);