From 2413074b337f86e704d53c41fc051ea3e9c1f87c Mon Sep 17 00:00:00 2001 From: Timo Date: Tue, 11 May 2021 16:23:23 +0300 Subject: [PATCH] api compatibility --- .../src/lib/api/dictionaryController.service.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/red-ui-http/src/lib/api/dictionaryController.service.ts b/libs/red-ui-http/src/lib/api/dictionaryController.service.ts index da1d191e8..8791c682d 100644 --- a/libs/red-ui-http/src/lib/api/dictionaryController.service.ts +++ b/libs/red-ui-http/src/lib/api/dictionaryController.service.ts @@ -492,9 +492,6 @@ export class DictionaryControllerService { headers = headers.set('Accept', httpHeaderAcceptSelected); } - // to determine the Content-Type header - const consumes: string[] = []; - return this.httpClient.request( 'get', `${this.basePath}/dictionary/download/${encodeURIComponent(String(type))}/${encodeURIComponent(String(ruleSetId))}`, @@ -544,9 +541,6 @@ export class DictionaryControllerService { headers = headers.set('Accept', httpHeaderAcceptSelected); } - // to determine the Content-Type header - const consumes: string[] = []; - return this.httpClient.request('get', `${this.basePath}/dictionary/type/${encodeURIComponent(String(ruleSetId))}`, { params: queryParameters, withCredentials: this.configuration.withCredentials, @@ -586,9 +580,6 @@ export class DictionaryControllerService { headers = headers.set('Accept', httpHeaderAcceptSelected); } - // to determine the Content-Type header - const consumes: string[] = []; - return this.httpClient.request('get', `${this.basePath}/color/${encodeURIComponent(String(ruleSetId))}`, { withCredentials: this.configuration.withCredentials, headers: headers,