Skip to content

Commit

Permalink
style change Clippy requested
Browse files Browse the repository at this point in the history
  • Loading branch information
enola-dkfz committed May 22, 2024
1 parent 67995a8 commit d2f7e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub async fn post_exporter_query(body: &String, task_type: TaskType) -> Result<S
}

if task_type == TaskType::Status {
let value: Value = serde_json::from_slice(&(util::base64_decode(&body))?)
let value: Value = serde_json::from_slice(&(util::base64_decode(body))?)
.map_err(|e| {
FocusError::DeserializationError(format!(r#"Task body is not a valid JSON: {}"#, e))
})?;
Expand Down

0 comments on commit d2f7e51

Please sign in to comment.