Rename APIError -> APIErrorPayload to solve conflicting name

This commit is contained in:
Zertex 2023-05-27 13:41:23 -04:00
parent 515a392368
commit 6d747bc504
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ pub struct ErrorField {
}
#[derive(Serialize, Deserialize, Debug)]
pub struct APIError {
pub struct APIErrorPayload {
pub message: String,
pub code: String,
}