diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-02-14 11:05:22 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-02-14 11:05:22 +0100 |
commit | 82b881b953c48fa31c1fc83c9eeb2e4b376108eb (patch) | |
tree | 1560e7f32e4cab28ec69054149dd676f91fdbeda /src/identity/plugin_rest_identity.c | |
parent | f3f57872da3a1edee2ece7d38e1747b4efdecbd9 (diff) | |
download | gnunet-82b881b953c48fa31c1fc83c9eeb2e4b376108eb.tar.gz gnunet-82b881b953c48fa31c1fc83c9eeb2e4b376108eb.zip |
fix identity rest
Diffstat (limited to 'src/identity/plugin_rest_identity.c')
-rw-r--r-- | src/identity/plugin_rest_identity.c | 7 |
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 }, |