fix redudnant code

This commit is contained in:
Diego Prats 2024-11-12 16:48:15 -08:00
parent bddf4e6c54
commit d2b3b617d1

View File

@ -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()