Remove useless filters parameter

This commit is contained in:
Kerollmops 2025-06-10 14:05:02 +02:00
parent bbe802c656
commit 4352a924d7
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 2 additions and 7 deletions

View file

@ -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);