From d2b3b617d1c81d4623f0462c0c8ec558d0cf8f79 Mon Sep 17 00:00:00 2001 From: Diego Prats Date: Tue, 12 Nov 2024 16:48:15 -0800 Subject: [PATCH] fix redudnant code --- clients/cli/src/analytics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/cli/src/analytics.rs b/clients/cli/src/analytics.rs index a1e04c8..d18fec9 100644 --- a/clients/cli/src/analytics.rs +++ b/clients/cli/src/analytics.rs @@ -69,7 +69,7 @@ pub fn track( firebase_app_id, firebase_api_key )) - .body(format!("[{}]", body.to_string())) + .body(format!("[{}]", body)) .header(ACCEPT, "text/plain") .header(CONTENT_TYPE, "application/json") .send()