aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/AllCommandTypes.js2
-rw-r--r--web/app/store/CommandTypes.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app/store/AllCommandTypes.js b/web/app/store/AllCommandTypes.js
index aac9d59..c86d071 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 f14cb59..3b898f2 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);