mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-11 01:02:01 +03:00
Merge 71711e6f54 into bede889ced
This commit is contained in:
commit
d3326b5a5f
1 changed files with 3 additions and 0 deletions
|
|
@ -599,6 +599,9 @@ async fn fetch_historical_rates_batch(
|
|||
app: AppHandle,
|
||||
dates: Vec<String>,
|
||||
) -> Result<std::collections::HashMap<String, std::collections::HashMap<String, f64>>, String> {
|
||||
if dates.len() > 100 {
|
||||
return Err("too many dates requested".to_string());
|
||||
}
|
||||
let mut results = std::collections::HashMap::new();
|
||||
let mut missing_dates = Vec::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue