aboutsummaryrefslogtreecommitdiff
path: root/web/app/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-02 14:08:01 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-02 14:08:01 +1300
commitd64dca63369c702e8f276fab50d9b3201c437e00 (patch)
tree4d962e8c2fe242a13146d9abefcf3ab77cce4619 /web/app/model
parentdc99e22966e542e6399df429c1e7611bc9c3bd52 (diff)
downloadtraccar-server-d64dca63369c702e8f276fab50d9b3201c437e00.tar.gz
traccar-server-d64dca63369c702e8f276fab50d9b3201c437e00.tar.bz2
traccar-server-d64dca63369c702e8f276fab50d9b3201c437e00.zip
Initial wiring of users and devices APIs
Diffstat (limited to 'web/app/model')
-rw-r--r--web/app/model/User.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/model/User.js b/web/app/model/User.js
index d0a6e5e14..d4c67f8f1 100644
--- a/web/app/model/User.js
+++ b/web/app/model/User.js
@@ -57,8 +57,8 @@ Ext.define('Traccar.model.User', {
}],
proxy: {
- type: 'ajax',
- url: '/api/user/update',
+ type: 'rest',
+ url: '/api/rest/users',
writer: {
type: 'json',
writeAllFields: true