diff options
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/AllCommandTypes.js | 2 | ||||
-rw-r--r-- | web/app/store/CommandTypes.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app/store/AllCommandTypes.js b/web/app/store/AllCommandTypes.js index aac9d599..c86d0714 100644 --- a/web/app/store/AllCommandTypes.js +++ b/web/app/store/AllCommandTypes.js @@ -22,7 +22,7 @@ Ext.define('Traccar.store.AllCommandTypes', { proxy: { type: 'rest', - url: 'api/commandtypes', + url: 'api/commands/types', listeners: { 'exception': function (proxy, response) { Traccar.app.showError(response); diff --git a/web/app/store/CommandTypes.js b/web/app/store/CommandTypes.js index f14cb596..3b898f2e 100644 --- a/web/app/store/CommandTypes.js +++ b/web/app/store/CommandTypes.js @@ -22,7 +22,7 @@ Ext.define('Traccar.store.CommandTypes', { proxy: { type: 'rest', - url: 'api/commandtypes', + url: 'api/commands/types', listeners: { 'exception': function (proxy, response) { Traccar.app.showError(response); |