mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-11-05 02:16:27 +00:00
test index delete
This commit is contained in:
@@ -33,4 +33,9 @@ impl Index<'_> {
|
||||
|
||||
self.service.put(url, body).await
|
||||
}
|
||||
|
||||
pub async fn delete(&self) -> (Value, StatusCode) {
|
||||
let url = format!("/indexes/{}", self.uid);
|
||||
self.service.delete(url).await
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user