Skip to content

Commit

Permalink
correct Workers DELETE /tail endpoint return type
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleymichal committed May 7, 2020
1 parent 056ac11 commit 81ab86b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cloudflare/src/endpoints/workers/delete_tail.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use super::WorkersTail;

use crate::framework::endpoint::{Endpoint, Method};

/// Delete Tail
Expand All @@ -13,7 +11,7 @@ pub struct DeleteTail<'a> {
pub tail_id: &'a str,
}

impl<'a> Endpoint<WorkersTail> for DeleteTail<'a> {
impl<'a> Endpoint<()> for DeleteTail<'a> {
fn method(&self) -> Method {
Method::Delete
}
Expand Down

0 comments on commit 81ab86b

Please sign in to comment.