redactor mut

pull/27/head
prplV 2025-04-29 11:32:56 -04:00
parent 97369e6452
commit b58c58b165
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ impl Requester {
let resp = req.send().await; let resp = req.send().await;
Ok(from_str(&resp?.text().await?)?) Ok(from_str(&resp?.text().await?)?)
} }
pub async fn get_conferences_from_value(mut conferences: Value) -> anyhow::Result<Conferences> { pub async fn get_conferences_from_value(conferences: Value) -> anyhow::Result<Conferences> {
let mut hashset = Conferences::new(); let mut hashset = Conferences::new();
match conferences.get("data") { match conferences.get("data") {
None => return Err(anyhow::Error::msg("Invalid JSON format: no `data` field")), None => return Err(anyhow::Error::msg("Invalid JSON format: no `data` field")),