Skip to content

Commit

Permalink
Merge pull request #4 from dolezvo1/dolezvo1-fix_detail
Browse files Browse the repository at this point in the history
Make the detail field of an Error optional
  • Loading branch information
ecarrara authored Sep 18, 2024
2 parents cf89a14 + fd16551 commit 696e96d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub struct ErrorList {
pub struct Error {
code: String,
message: String,
#[serde(default)]
detail: serde_json::Value,
}

Expand Down

0 comments on commit 696e96d

Please sign in to comment.