Skip to content

Commit

Permalink
fix: clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
remiroyc committed Sep 7, 2023
1 parent 067aaac commit e43ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ark-metadata/src/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ fn parse_embedded_metadata(metadata_uri: &str) -> Result<(Value, NormalizedMetad
let content = metadata_uri.replace("data:application/json,", "");
match serde_json::from_str::<Value>(content.as_str()) {
Ok(raw_metadata) => {
let normalized_metadata = get_normalized_metadata(raw_metadata.clone(), &"");
let normalized_metadata = get_normalized_metadata(raw_metadata.clone(), "");
Ok((raw_metadata, normalized_metadata))
}
Err(_) => Err(anyhow::Error::msg("Invalid metadata")),
Expand Down

0 comments on commit e43ff23

Please sign in to comment.