mirror of
https://github.com/tangledup-ai/stepfun-vector-stores-admin.git
synced 2026-01-20 19:00:59 +08:00
fix: format error
This commit is contained in:
@@ -73,7 +73,12 @@ type ListFilesOptions = {
|
||||
}
|
||||
|
||||
export function useListFiles(params: ListFilesOptions) {
|
||||
const { vectorStoreId, pagination, enabled = true, staleTime = 5 * 60 * 1000 } = params
|
||||
const {
|
||||
vectorStoreId,
|
||||
pagination,
|
||||
enabled = true,
|
||||
staleTime = 5 * 60 * 1000,
|
||||
} = params
|
||||
return useQuery({
|
||||
queryKey: ['vector_stores_files', vectorStoreId, pagination],
|
||||
queryFn: () => VectorStoresApiService.listFiles(vectorStoreId, pagination),
|
||||
|
||||
Reference in New Issue
Block a user