mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Remove useless filters parameter
This commit is contained in:
parent
bbe802c656
commit
4352a924d7
2 changed files with 2 additions and 7 deletions
|
@ -114,12 +114,8 @@ pub async fn list_workspaces(
|
|||
index_scheduler.features().check_chat_completions("listing the chats")?;
|
||||
|
||||
debug!(parameters = ?paginate, "List chat workspaces");
|
||||
let filters = index_scheduler.filters();
|
||||
let (total, workspaces) = index_scheduler.paginated_chat_workspace_uids(
|
||||
filters,
|
||||
*paginate.offset,
|
||||
*paginate.limit,
|
||||
)?;
|
||||
let (total, workspaces) =
|
||||
index_scheduler.paginated_chat_workspace_uids(*paginate.offset, *paginate.limit)?;
|
||||
let workspaces =
|
||||
workspaces.into_iter().map(|uid| ChatWorkspaceView { uid }).collect::<Vec<_>>();
|
||||
let ret = paginate.as_pagination().format_with(total, workspaces);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue