Rename APIError -> APIErrorPayload to solve conflicting name
This commit is contained in:
parent
515a392368
commit
6d747bc504
|
@ -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