diff options
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/AllAttributeAliases.js (renamed from web/app/store/AllAttributesAliases.js) | 4 | ||||
-rw-r--r-- | web/app/store/AttributeAliases.js (renamed from web/app/store/AttributesAliases.js) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/AllAttributesAliases.js b/web/app/store/AllAttributeAliases.js index 7eb6c0c1..c351d0d7 100644 --- a/web/app/store/AllAttributesAliases.js +++ b/web/app/store/AllAttributeAliases.js @@ -16,13 +16,13 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -Ext.define('Traccar.store.AllAttributesAliases', { +Ext.define('Traccar.store.AllAttributeAliases', { extend: 'Ext.data.Store', model: 'Traccar.model.AttributeAlias', proxy: { type: 'rest', - url: 'api/devices/aliases', + url: 'api/attributes/aliases', writer: { writeAllFields: true } diff --git a/web/app/store/AttributesAliases.js b/web/app/store/AttributeAliases.js index 1f8d11de..ebec8c87 100644 --- a/web/app/store/AttributesAliases.js +++ b/web/app/store/AttributeAliases.js @@ -16,13 +16,13 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -Ext.define('Traccar.store.AttributesAliases', { +Ext.define('Traccar.store.AttributeAliases', { extend: 'Ext.data.Store', model: 'Traccar.model.AttributeAlias', proxy: { type: 'rest', - url: 'api/devices/aliases', + url: 'api/attributes/aliases', writer: { writeAllFields: true } |