diff --git a/native/native_rust_library/src/lib.rs b/native/native_rust_library/src/lib.rs --- a/native/native_rust_library/src/lib.rs +++ b/native/native_rust_library/src/lib.rs @@ -211,7 +211,9 @@ } #[derive(Serialize)] +#[serde(rename_all = "camelCase")] struct UserIDAndDeviceAccessToken { + #[serde(rename = "userID")] user_id: String, access_token: String, }