Fix: dataset list refresh (#1216)

This commit is contained in:
KVOJJJin 2023-09-27 10:31:46 +08:00 • committed by GitHub
commit 59236b789f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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}`)
}