mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 22:41:58 +03:00
Merge 37c7de286a into 37cfd2144b
This commit is contained in:
commit
e66cca205e
1 changed files with 4 additions and 1 deletions
|
|
@ -631,7 +631,10 @@ async fn fetch_historical_rates_batch(
|
|||
let mut futures = Vec::new();
|
||||
|
||||
for date in missing_dates {
|
||||
let url = format!("https://api.frankfurter.dev/v1/{}?from=USD", date);
|
||||
let mut url = String::with_capacity(42 + date.len());
|
||||
url.push_str("https://api.frankfurter.dev/v1/");
|
||||
url.push_str(&date);
|
||||
url.push_str("?from=USD");
|
||||
let client_clone = client.clone();
|
||||
let app_clone = app.clone();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue