From 743c0085e6ba171ace478b0b46a44f5eb6b44ab0 Mon Sep 17 00:00:00 2001 From: zkfriendly Date: Sat, 30 Nov 2024 13:56:17 +0100 Subject: [PATCH] refactor: to camelCase --- packages/relayer/src/handler.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/relayer/src/handler.rs b/packages/relayer/src/handler.rs index 55e088f..5ec1439 100644 --- a/packages/relayer/src/handler.rs +++ b/packages/relayer/src/handler.rs @@ -290,9 +290,9 @@ pub async fn account_salt_handler( relayer_utils::calculate_account_salt(&body.email_address, &body.account_code); let response = json!({ - "email_address": body.email_address, - "account_code": body.account_code, - "account_salt": account_salt, + "emailAddress": body.email_address, + "accountCode": body.account_code, + "accountSalt": account_salt, }); Ok((StatusCode::OK, Json(response)))