Allow telemetry from unofficial builds (#13224)

Release Notes:

- N/A

Co-authored-by: Peter Tripp <notpeter@users.noreply.github.com>
This commit is contained in:
Joseph T. Lyons 2024-06-18 16:00:47 -04:00 committed by GitHub
parent c84d432b5f
commit 9af4b6bfc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -590,10 +590,6 @@ impl Telemetry {
return;
}
if ZED_CLIENT_CHECKSUM_SEED.is_none() {
return;
};
let this = self.clone();
self.executor
.spawn(
@ -629,9 +625,7 @@ impl Telemetry {
serde_json::to_writer(&mut json_bytes, &request_body)?;
}
let Some(checksum) = calculate_json_checksum(&json_bytes) else {
return Ok(());
};
let checksum = calculate_json_checksum(&json_bytes).unwrap_or("".to_string());
let request = http::Request::builder()
.method(Method::POST)