🐛 fix (general-consent): fix type error when create encounter

This commit is contained in:
Abizrh
2025-11-20 13:43:19 +07:00
parent b379a9bc94
commit 1f3ca6f19b
@@ -132,10 +132,11 @@ async function actionHandler(type: string) {
if (data) {
const resp2 = await create({
entityType_code: 'encounter',
ref_id: +data?.id,
ref_id: data?.id,
type_code: 'general-consent',
})
console.log('resp2', resp2.body?.data)
backToList()
}
} else {
console.log('Ada error di form', result)