diff --git a/client/src/api/Api.js b/client/src/api/Api.js index f24d8add..c194ddfa 100644 --- a/client/src/api/Api.js +++ b/client/src/api/Api.js @@ -169,9 +169,7 @@ export default class Api { addFilter(url, name) { const { path, method } = this.FILTERING_ADD_FILTER; - const urlParameter = 'url'; - const nameParameter = 'name'; - const requestBody = `${urlParameter}=${url}&${nameParameter}=${name}`; + const requestBody = `url=${url}&name=${name}`; const config = { data: requestBody, header: { 'Content-Type': 'text/plain' },