Skip to content

Commit

Permalink
Improve lowercase hex formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bryn committed May 12, 2022
1 parent 702880e commit 7f3ffaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-router-core/src/spec/schema.rs
Expand Up @@ -371,7 +371,7 @@ impl std::str::FromStr for Schema {

let mut hasher = Sha256::new();
hasher.update(schema.as_bytes());
let schema_id = Some(format!("{:X}", hasher.finalize()).to_lowercase());
let schema_id = Some(format!("{:x}", hasher.finalize()));

Ok(Schema {
subtype_map,
Expand Down

0 comments on commit 7f3ffaf

Please sign in to comment.