Skip to content

Commit

Permalink
feat: errors
Browse files Browse the repository at this point in the history
  • Loading branch information
remiroyc committed Sep 15, 2023
1 parent 6511be3 commit d173254
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/ark-metadata/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ async fn fetch_token_image(url: &str, cache_image: bool) -> Result<MetadataImage
if !cache_image {
let response = Client::new().head(url).send().await?;



response.headers().

let content_type = match response.headers().get(reqwest::header::CONTENT_TYPE) {
Some(content_type) => match content_type.to_str() {
Ok(value) => value.to_string(),
Expand Down

0 comments on commit d173254

Please sign in to comment.