Remove unused result response on indexes_uids function

This commit is contained in:
Quentin de Quelen 2019-11-20 11:21:21 +01:00
parent e22debb994
commit a0caf0d6d7
3 changed files with 3 additions and 5 deletions

View file

@ -32,8 +32,7 @@ pub async fn list_indexes(ctx: Context<Data>) -> SResult<Response> {
let indexes_uids = ctx
.state()
.db
.indexes_uids()
.map_err(ResponseError::internal)?;
.indexes_uids();
let env = &ctx.state().db.env;
let mut reader = env.read_txn().map_err(ResponseError::internal)?;

View file

@ -159,7 +159,6 @@ pub async fn search_multi_index(mut ctx: Context<Data>) -> SResult<Response> {
.state()
.db
.indexes_uids()
.map_err(ResponseError::internal)?
.into_iter()
.collect();
}