mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 03:48:24 +00:00
chore: dataset fe adjusting (#1833)
This commit is contained in:
@@ -51,8 +51,8 @@ import type {
|
||||
import type { readCollectionSourceResponse } from '@/pages/api/core/dataset/collection/read';
|
||||
|
||||
/* ======================== dataset ======================= */
|
||||
export const getDatasets = (data: { parentId?: string; type?: DatasetTypeEnum }) =>
|
||||
GET<DatasetListItemType[]>(`/core/dataset/list`, data);
|
||||
export const getDatasets = (data: { parentId?: ParentIdType; type?: DatasetTypeEnum }) =>
|
||||
POST<DatasetListItemType[]>(`/core/dataset/list`, data);
|
||||
|
||||
/**
|
||||
* get type=dataset list
|
||||
|
Reference in New Issue
Block a user