Rename APIError -> APIErrorPayload to solve conflicting name
This commit is contained in:
parent
f7d5dc2bbf
commit
24be5c0144
|
@ -48,7 +48,7 @@ pub struct ErrorField {
|
|||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct APIError {
|
||||
pub struct APIErrorPayload {
|
||||
pub message: String,
|
||||
pub code: String,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue