summaryrefslogtreecommitdiff
path: root/src/backenddb/plugin_merchantdb_postgres.c
diff options
context:
space:
mode:
authorChristian Blättler <blatc2@bfh.ch>2023-11-21 08:06:00 +0100
committerChristian Grothoff <grothoff@gnunet.org>2023-12-23 00:08:57 +0800
commit094327bc906cdeced19a52c86dc0725aad773997 (patch)
treeb459428305452298749cb90438c7a734a64230d1 /src/backenddb/plugin_merchantdb_postgres.c
parent20632c6a2e293a9799114497d63180a105b37065 (diff)
downloadmerchant-094327bc906cdeced19a52c86dc0725aad773997.tar.gz
merchant-094327bc906cdeced19a52c86dc0725aad773997.tar.bz2
merchant-094327bc906cdeced19a52c86dc0725aad773997.zip
POST /tokenfamilies endpoint
Diffstat (limited to 'src/backenddb/plugin_merchantdb_postgres.c')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 1f1f54c6..90586561 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -147,6 +147,8 @@
#include "pg_activate_reserve.h"
#include "pg_authorize_reward.h"
#include "pg_insert_pickup.h"
+#include "pg_insert_token_family.h"
+#include "pg_lookup_token_family.h"
/**
@@ -601,6 +603,12 @@ libtaler_plugin_merchantdb_postgres_init (void *cls)
= &TMH_PG_select_accounts_by_exchange;
plugin->insert_exchange_account
= &TMH_PG_insert_exchange_account;
+ plugin->insert_token_family
+ = &TMH_PG_insert_token_family;
+ plugin->lookup_token_family
+ = &TMH_PG_lookup_token_family;
+
+
return plugin;
}