Fix: debug Uplaod Doc

This commit is contained in:
hasyim_kai
2025-11-14 14:55:32 +07:00
parent 1d03258f44
commit 60c13649d9
4 changed files with 33 additions and 17 deletions
+4 -3
View File
@@ -4,11 +4,12 @@ import * as base from './_crud-base'
// Constants
import { encounterClassCodes, uploadCode, type UploadCodeKey } from '~/lib/constants'
const path = '/api/v1/upload'
const name = 'upload'
const path = '/api/v1/encounter-document'
const create_path = '/api/v1/upload'
const name = 'encounter-document'
export function create(data: any) {
return base.create(path, data, name)
return base.create(create_path, data, name)
}
export function getList(params: any = null) {