aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/identity/plugin_rest_identity.c7
1 files changed, 1 insertions, 6 deletions
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
@@ -39,11 +39,6 @@
39/** 39/**
40 * Identity Namespace with public key specifier 40 * Identity Namespace with public key specifier
41 */ 41 */
42#define GNUNET_REST_API_NS_IDENTITY_ALL "/identity/all"
43
44/**
45 * Identity Namespace with public key specifier
46 */
47#define GNUNET_REST_API_NS_IDENTITY_PUBKEY "/identity/pubkey" 42#define GNUNET_REST_API_NS_IDENTITY_PUBKEY "/identity/pubkey"
48 43
49/** 44/**
@@ -1155,7 +1150,7 @@ init_cont (struct RequestHandle *handle)
1155{ 1150{
1156 struct GNUNET_REST_RequestHandlerError err; 1151 struct GNUNET_REST_RequestHandlerError err;
1157 static const struct GNUNET_REST_RequestHandler handlers[] = 1152 static const struct GNUNET_REST_RequestHandler handlers[] =
1158 { { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_ALL, &ego_get_all }, 1153 { { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY, &ego_get_all },
1159 { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_PUBKEY, 1154 { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_PUBKEY,
1160 &ego_get_pubkey }, 1155 &ego_get_pubkey },
1161 { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_NAME, &ego_get_name }, 1156 { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_NAME, &ego_get_name },