Added full support for managing the blocklist
This commit is contained in:
+5
-1
@@ -143,7 +143,11 @@ impl<'a, 'b> Network<'a, 'b> {
|
||||
.put(uri)
|
||||
.json(&body.unwrap_or_default())
|
||||
.header("X-Api-Key", api_token),
|
||||
RequestMethod::Delete => self.client.delete(uri).header("X-Api-Key", api_token),
|
||||
RequestMethod::Delete => self
|
||||
.client
|
||||
.delete(uri)
|
||||
.json(&body.unwrap_or_default())
|
||||
.header("X-Api-Key", api_token),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user