diff options
Diffstat (limited to 'src/identity')
-rw-r--r-- | src/identity/plugin_rest_identity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c index 4e32b73dd..d86d29e36 100644 --- a/src/identity/plugin_rest_identity.c +++ b/src/identity/plugin_rest_identity.c | |||
@@ -1296,13 +1296,13 @@ rest_process_request (struct GNUNET_REST_RequestHandle *rest_handle, | |||
1296 | struct RequestHandle *handle = GNUNET_new (struct RequestHandle); | 1296 | struct RequestHandle *handle = GNUNET_new (struct RequestHandle); |
1297 | struct GNUNET_REST_RequestHandlerError err; | 1297 | struct GNUNET_REST_RequestHandlerError err; |
1298 | static const struct GNUNET_REST_RequestHandler handlers[] = | 1298 | static const struct GNUNET_REST_RequestHandler handlers[] = |
1299 | { { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY, &ego_get_all }, | 1299 | { { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_PUBKEY, |
1300 | { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_PUBKEY, | ||
1301 | &ego_get_pubkey }, | 1300 | &ego_get_pubkey }, |
1302 | { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_NAME, &ego_get_name }, | 1301 | { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY_NAME, &ego_get_name }, |
1303 | { MHD_HTTP_METHOD_GET, | 1302 | { MHD_HTTP_METHOD_GET, |
1304 | GNUNET_REST_API_NS_IDENTITY_SUBSYSTEM, | 1303 | GNUNET_REST_API_NS_IDENTITY_SUBSYSTEM, |
1305 | &ego_get_subsystem }, | 1304 | &ego_get_subsystem }, |
1305 | { MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY, &ego_get_all }, | ||
1306 | { MHD_HTTP_METHOD_PUT, | 1306 | { MHD_HTTP_METHOD_PUT, |
1307 | GNUNET_REST_API_NS_IDENTITY_PUBKEY, | 1307 | GNUNET_REST_API_NS_IDENTITY_PUBKEY, |
1308 | &ego_edit_pubkey }, | 1308 | &ego_edit_pubkey }, |