From a52bfbf206ccdb18f6c736c492aec3698ac7b1a9 Mon Sep 17 00:00:00 2001 From: jospaeth Date: Thu, 10 Sep 2020 22:31:12 +0200 Subject: update REST API change params to camelCase --- src/escrow/plugin_rest_escrow.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/escrow/plugin_rest_escrow.c b/src/escrow/plugin_rest_escrow.c index d1a7cd1e7..0453da1fe 100644 --- a/src/escrow/plugin_rest_escrow.c +++ b/src/escrow/plugin_rest_escrow.c @@ -114,7 +114,7 @@ /** * Parameter anchor-data */ -#define GNUNET_REST_ESCROW_PARAM_ANCHOR_DATA "anchor-data" +#define GNUNET_REST_ESCROW_PARAM_ANCHOR_DATA "anchorData" /** * Parameter method @@ -124,7 +124,7 @@ /** * Parameter user-secret */ -#define GNUNET_REST_ESCROW_PARAM_USER_SECRET "user-secret" +#define GNUNET_REST_ESCROW_PARAM_USER_SECRET "userSecret" /** * Parameter pubkey @@ -139,22 +139,22 @@ /** * Parameter verification-result */ -#define GNUNET_REST_ESCROW_PARAM_VERIFICATION_RESULT "verification-result" +#define GNUNET_REST_ESCROW_PARAM_VERIFICATION_RESULT "verificationResult" /** * Parameter last-method */ -#define GNUNET_REST_ESCROW_PARAM_LAST_METHOD "last-method" +#define GNUNET_REST_ESCROW_PARAM_LAST_METHOD "lastMethod" /** * Parameter last-successful-verification */ -#define GNUNET_REST_ESCROW_PARAM_LAST_VERIF "last-successful-verification" +#define GNUNET_REST_ESCROW_PARAM_LAST_VERIF "lastSuccessfulVerification" /** * Parameter next-recommended-verification */ -#define GNUNET_REST_ESCROW_PARAM_NEXT_VERIF "next-recommended-verification" +#define GNUNET_REST_ESCROW_PARAM_NEXT_VERIF "nextRecommendedVerification" /** * State while collecting all egos -- cgit v1.2.3