fix catch error
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user