From 81ab86b5f534b42d791516dc7bdb171b42ae47f9 Mon Sep 17 00:00:00 2001 From: Ashley Michal Lewis Date: Thu, 7 May 2020 10:54:08 -0500 Subject: [PATCH] correct Workers DELETE /tail endpoint return type --- cloudflare/src/endpoints/workers/delete_tail.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cloudflare/src/endpoints/workers/delete_tail.rs b/cloudflare/src/endpoints/workers/delete_tail.rs index 430c5014..aea3f52a 100644 --- a/cloudflare/src/endpoints/workers/delete_tail.rs +++ b/cloudflare/src/endpoints/workers/delete_tail.rs @@ -1,5 +1,3 @@ -use super::WorkersTail; - use crate::framework::endpoint::{Endpoint, Method}; /// Delete Tail @@ -13,7 +11,7 @@ pub struct DeleteTail<'a> { pub tail_id: &'a str, } -impl<'a> Endpoint for DeleteTail<'a> { +impl<'a> Endpoint<()> for DeleteTail<'a> { fn method(&self) -> Method { Method::Delete }