fix catch error

This commit is contained in:
Hafifie PKB
2025-01-20 16:09:49 +08:00
parent 91570ebbab
commit aee216430c
+1 -1
View File
@@ -214,7 +214,7 @@
document.getElementById('marhunLoader').style.display = 'flex';
const norujukan = event.target.innerHTML;
try {
const data = await fetch('/api/pembiayaan-modal-data/' + norujukan + "/" + tagsyarikat)
.then(x => x.json())
.catch(error => {