mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +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