Skip to content

Commit

Permalink
fix typo for 'message' in error response
Browse files Browse the repository at this point in the history
  • Loading branch information
niamu committed Dec 20, 2023
1 parent 8fe0df8 commit 95667c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dim-web/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl IntoResponse for DimErrorWrapper {

let resp = serde_json::json!({
"error": serde_json::json!(&self.0)["error"],
"messsage": self.0.to_string(),
"message": self.0.to_string(),
});
(status, serde_json::to_string(&resp).unwrap()).into_response()
}
Expand Down

0 comments on commit 95667c6

Please sign in to comment.