You've already forked AstralRinth
forked from didirus/AstralRinth
Fix another bug (#87)
This commit is contained in:
@@ -145,7 +145,7 @@ pub async fn mod_delete(
|
|||||||
.await
|
.await
|
||||||
.map_err(|e| ApiError::DatabaseError(e.into()))?;
|
.map_err(|e| ApiError::DatabaseError(e.into()))?;
|
||||||
|
|
||||||
let client = meilisearch_sdk::client::Client::new(&*config.key, &*config.address);
|
let client = meilisearch_sdk::client::Client::new(&*config.address, &*config.key);
|
||||||
|
|
||||||
let indexes: Vec<meilisearch_sdk::indexes::Index> = client.get_indexes().await?;
|
let indexes: Vec<meilisearch_sdk::indexes::Index> = client.get_indexes().await?;
|
||||||
for index in indexes {
|
for index in indexes {
|
||||||
|
|||||||
Reference in New Issue
Block a user