From 82b881b953c48fa31c1fc83c9eeb2e4b376108eb Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Fri, 14 Feb 2020 11:05:22 +0100 Subject: fix identity rest --- src/identity/plugin_rest_identity.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/identity/plugin_rest_identity.c') diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c index 65bbaaaba..4b3571996 100644 --- a/src/identity/plugin_rest_identity.c +++ b/src/identity/plugin_rest_identity.c @@ -36,11 +36,6 @@ */ #define GNUNET_REST_API_NS_IDENTITY "/identity" -/** - * Identity Namespace with public key specifier - */ -#define GNUNET_REST_API_NS_IDENTITY_ALL "/identity/all" - /** * Identity Namespace with public key specifier */ @@ -1155,7 +1150,7 @@ init_cont (struct RequestHandle *handle) { struct GNUNET_REST_RequestHandlerError err; static const struct GNUNET_REST_RequestHandler handlers[] = - { { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_ALL, &ego_get_all }, + { { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY, &ego_get_all }, { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_PUBKEY, &ego_get_pubkey }, { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_NAME, &ego_get_name }, -- cgit v1.2.3