Fix: refactor upload API url

This commit is contained in:
hasyim_kai
2025-11-19 10:22:12 +07:00
parent 0a68dbf3a6
commit c3f1f997b3
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
import * as base from './_crud-base'
// Constants
import { encounterClassCodes, uploadCode, type UploadCodeKey } from '~/lib/constants'
import { uploadCode, type UploadCodeKey } from '~/lib/constants'
const path = '/api/v1/encounter-document'
const create_path = '/api/v1/upload'
const create_path = '/api/v1/upload-file'
const name = 'encounter-document'
export function create(data: any) {