mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-29 07:16:07 +00:00
Bugfix: Notification enum conflicts with window.Notification
This commit is contained in:
4
dev/bootstrap.js
vendored
4
dev/bootstrap.js
vendored
@@ -90,10 +90,10 @@ export default App => {
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
// console.log(data);
|
||||
return Promise.reject(Notification.JsonParse);
|
||||
return Promise.reject(Notifications.JsonParse);
|
||||
return {
|
||||
Result: false,
|
||||
ErrorCode: 952, // Notification.JsonParse
|
||||
ErrorCode: 952, // Notifications.JsonParse
|
||||
ErrorMessage: e.message,
|
||||
ErrorMessageAdditional: data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user