From aee216430cdb817200de690364eb911dab6424bf Mon Sep 17 00:00:00 2001 From: Hafifie PKB Date: Mon, 20 Jan 2025 16:09:49 +0800 Subject: [PATCH] fix catch error --- resources/views/modal/marhun.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/modal/marhun.blade.php b/resources/views/modal/marhun.blade.php index 21b6903..4502123 100644 --- a/resources/views/modal/marhun.blade.php +++ b/resources/views/modal/marhun.blade.php @@ -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 => {