diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-15 09:56:25 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-15 10:09:04 +1300 |
commit | 122947ed42ca4a427f9d2375e91433bf33ae3d77 (patch) | |
tree | c8a72ede5402acd45ad4a416569efb095b7479b9 /web | |
parent | 0fdd72c382cd23e963270e032aab5cdf42d6116f (diff) | |
download | trackermap-server-122947ed42ca4a427f9d2375e91433bf33ae3d77.tar.gz trackermap-server-122947ed42ca4a427f9d2375e91433bf33ae3d77.tar.bz2 trackermap-server-122947ed42ca4a427f9d2375e91433bf33ae3d77.zip |
Use REST API to unlink user device
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/UserDevicesController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/UserDevicesController.js b/web/app/view/UserDevicesController.js index 4cbc6889a..5232d82ce 100644 --- a/web/app/view/UserDevicesController.js +++ b/web/app/view/UserDevicesController.js @@ -64,7 +64,7 @@ Ext.define('Traccar.view.UserDevicesController', { Ext.Ajax.request({ scope: this, method: 'DELETE', - url: '/api/device/unlink', + url: '/api/rest/permissions', jsonData: { userId: this.userId, deviceId: record.getData().id |