From b9d0e0f4096ee0d0f630c2df178728ce7e9f92ae Mon Sep 17 00:00:00 2001 From: Cass Fridkin Date: Thu, 15 Apr 2021 12:08:01 -0400 Subject: [PATCH] whoops, i forgot to fix this When you don't submit a URL to the API, it doesn't give you an API back. I didn't realize we actually specify the response values, but now it makes sense. --- cloudflare/src/endpoints/workers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare/src/endpoints/workers/mod.rs b/cloudflare/src/endpoints/workers/mod.rs index 1d3ea8ed..86591342 100644 --- a/cloudflare/src/endpoints/workers/mod.rs +++ b/cloudflare/src/endpoints/workers/mod.rs @@ -70,7 +70,7 @@ impl ApiResult for Vec {} // to parse arrays too #[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq)] pub struct WorkersTail { pub id: String, - pub url: String, + pub url: Option, pub expires_at: DateTime, }