Rename APIError -> APIErrorPayload to solve conflicting name

This commit is contained in:
Quaternion 2023-05-27 13:41:23 -04:00
parent f7d5dc2bbf
commit 24be5c0144
1 changed files with 1 additions and 1 deletions

View File

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