aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/Notification.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/model/Notification.js')
-rw-r--r--web/app/model/Notification.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/model/Notification.js b/web/app/model/Notification.js
index 3ae13c05..0d479f4f 100644
--- a/web/app/model/Notification.js
+++ b/web/app/model/Notification.js
@@ -17,7 +17,7 @@
Ext.define('Traccar.model.Notification', {
extend: 'Ext.data.Model',
- idProperty: 'type',
+ identifier: 'negative',
fields: [{
name: 'id',
@@ -26,8 +26,8 @@ Ext.define('Traccar.model.Notification', {
name: 'type',
type: 'string'
}, {
- name: 'userId',
- type: 'int'
+ name: 'always',
+ type: 'bool'
}, {
name: 'attributes'
}, {