Skip to content

Commit

Permalink
fix importApi
Browse files Browse the repository at this point in the history
  • Loading branch information
karlOS123testing committed Sep 26, 2024
1 parent aba0b5e commit 0d07ece
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pages/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -2147,6 +2147,9 @@ export class Process {
return win.ProcessMaker.apiClient.post('/import/do-import', formData);
})
.then(response => {
window.addEventListener('unhandledrejection', (event) => {
throw event.reason
});
return response.data.processId;
});
}
Expand Down

0 comments on commit 0d07ece

Please sign in to comment.