feat: Update type of cloudflare response
Turns out that the results field can be null
This commit is contained in:
parent
ed57b709ec
commit
7ceb5c3c50
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ use anyhow::{anyhow};
|
|||
struct CloudflareListResponse {
|
||||
success: bool,
|
||||
errors: Vec<String>,
|
||||
result: Vec<ObjectWithId>,
|
||||
result: Option<Vec<ObjectWithId>>,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Debug)]
|
||||
|
|
Loading…
Reference in a new issue