aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 09:56:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 10:09:04 +1300
commit122947ed42ca4a427f9d2375e91433bf33ae3d77 (patch)
treec8a72ede5402acd45ad4a416569efb095b7479b9 /web/app
parent0fdd72c382cd23e963270e032aab5cdf42d6116f (diff)
downloadtrackermap-server-122947ed42ca4a427f9d2375e91433bf33ae3d77.tar.gz
trackermap-server-122947ed42ca4a427f9d2375e91433bf33ae3d77.tar.bz2
trackermap-server-122947ed42ca4a427f9d2375e91433bf33ae3d77.zip
Use REST API to unlink user device
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/UserDevicesController.js2
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