diff --git a/cloudflare/src/framework/response/mod.rs b/cloudflare/src/framework/response/mod.rs index 695547bd..398843aa 100644 --- a/cloudflare/src/framework/response/mod.rs +++ b/cloudflare/src/framework/response/mod.rs @@ -9,7 +9,9 @@ use serde_json::value::Value as JsonValue; pub struct ApiSuccess { pub result: ResultType, pub result_info: Option, + #[serde(default)] pub messages: JsonValue, + #[serde(default)] pub errors: Vec, }