mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Laravel Vapor - attempt to fix a frontend error Uncaught (in promise) null
This commit is contained in:
@@ -10,7 +10,6 @@ export default {
|
||||
method: method,
|
||||
parameters: this.parameters
|
||||
}).then(response => {
|
||||
console.log('debug Uncaught (in promise) null 2 : ' + JSON.stringify(response));
|
||||
let statusCode = response.status,
|
||||
success = response.ok;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ export default {
|
||||
method: method,
|
||||
parameters: this.parameters
|
||||
}).then(response => {
|
||||
console.log('debug Uncaught (in promise) null 1 : ' + JSON.stringify(response));
|
||||
let statusCode = response.status,
|
||||
success = response.ok;
|
||||
|
||||
@@ -48,7 +47,6 @@ export default {
|
||||
});
|
||||
}
|
||||
}).catch((error) => {
|
||||
console.log('debug Uncaught (in promise) null 1 : ' + JSON.stringify(error));
|
||||
console.log(error);
|
||||
this.$store.dispatch('createNotification', {title: 'Unexpected Error', message: 'An unexpected error has occurred. Try again!', type: 'error'});
|
||||
}).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user