Skip to content

Commit

Permalink
wikimisc
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusmanske committed Apr 11, 2024
1 parent 519c267 commit e48bf6e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -988,11 +988,7 @@ impl Platform {
Some(wiki) => wiki.to_string(),
None => return Ok(()), // TODO is it OK to just ignore? Error for "no wiki set"?
};
let api = self
.state
.get_api_for_wiki(wiki.to_owned())
.await
.map_err(|e| format!("{e}"))?;
let api = self.state.get_api_for_wiki(wiki.to_owned()).await?;

// Using Wikidata
let titles: Vec<String> = result
Expand Down

0 comments on commit e48bf6e

Please sign in to comment.