From 122947ed42ca4a427f9d2375e91433bf33ae3d77 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 15 Dec 2015 09:56:25 +1300 Subject: Use REST API to unlink user device --- web/app/view/UserDevicesController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app') 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 -- cgit v1.2.3