Fix: dataset list refresh (#1216)

This commit is contained in:
KVOJJJin
2023-09-27 10:31:46 +08:00
committed by GitHub
parent fd3d43cae1
commit 59236b789f
6 changed files with 34 additions and 23 deletions

View File

@@ -39,7 +39,7 @@ export type SortType = 'created_at' | 'hit_count' | '-created_at' | '-hit_count'
export type MetadataType = 'all' | 'only' | 'without'
export const fetchDataDetail: Fetcher<DataSet, string> = (datasetId: string) => {
export const fetchDatasetDetail: Fetcher<DataSet, string> = (datasetId: string) => {
return get<DataSet>(`/datasets/${datasetId}`)
}