From bd2c4269db34667f4e6827e7c56a95433a7eb7fe Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Thu, 23 May 2019 11:25:48 +0300 Subject: [PATCH] * client: remove unused api method --- client/src/api/Api.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/client/src/api/Api.js b/client/src/api/Api.js index 79abd2fb..8f34f201 100644 --- a/client/src/api/Api.js +++ b/client/src/api/Api.js @@ -39,8 +39,6 @@ export default class Api { GLOBAL_VERSION = { path: 'version.json', method: 'GET' }; GLOBAL_ENABLE_PROTECTION = { path: 'enable_protection', method: 'POST' }; GLOBAL_DISABLE_PROTECTION = { path: 'disable_protection', method: 'POST' }; - GLOBAL_CLIENTS = { path: 'clients', method: 'GET' } - GLOBAL_CLIENTS = { path: 'clients', method: 'GET' }; GLOBAL_UPDATE = { path: 'update', method: 'POST' }; restartGlobalFiltering() { @@ -142,11 +140,6 @@ export default class Api { return this.makeRequest(path, method); } - getGlobalClients() { - const { path, method } = this.GLOBAL_CLIENTS; - return this.makeRequest(path, method); - } - getUpdate() { const { path, method } = this.GLOBAL_UPDATE; return this.makeRequest(path, method);