aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/CommandTypes.js (renamed from web/app/store/SupportedCommands.js)4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/store/SupportedCommands.js b/web/app/store/CommandTypes.js
index 2bb73839b..d2f9b57e4 100644
--- a/web/app/store/SupportedCommands.js
+++ b/web/app/store/CommandTypes.js
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-Ext.define('Traccar.store.SupportedCommands', {
+Ext.define('Traccar.store.CommandTypes', {
extend: 'Ext.data.Store',
fields: ['key'],
@@ -22,7 +22,7 @@ Ext.define('Traccar.store.SupportedCommands', {
'beforeload' : function(store, eOpts) {
var proxy;
proxy = store.getProxy();
- proxy.setUrl('/api/supportedcommands?deviceId' + proxy.extraParams.deviceId);
+ proxy.setUrl('/api/commandtypes?deviceId' + proxy.extraParams.deviceId);
}
},