Update router/src/usage_stats.rs

Co-authored-by: Hugo Larcher <hugo.larcher@huggingface.co>
This commit is contained in:
Erik Kaunismäki 2024-07-19 10:47:38 +02:00 committed by GitHub
parent 2dfd111e63
commit 01d6e0ba32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,6 +57,7 @@ impl UsageStatsEvent {
let client = reqwest::Client::new(); let client = reqwest::Client::new();
let _ = client let _ = client
.post(TELEMETRY_URL) .post(TELEMETRY_URL)
.headers(headers)
.body(body) .body(body)
.timeout(Duration::from_secs(5)) .timeout(Duration::from_secs(5))
.send() .send()