From 7a70a70659fe158dd7d9eb9e804f9d788be5e11f Mon Sep 17 00:00:00 2001 From: Timo Date: Tue, 23 Mar 2021 18:39:59 +0200 Subject: [PATCH] delete endpoint fixes --- .../src/lib/api/fileAttributesController.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/red-ui-http/src/lib/api/fileAttributesController.service.ts b/libs/red-ui-http/src/lib/api/fileAttributesController.service.ts index 81629878f..a985f86e9 100644 --- a/libs/red-ui-http/src/lib/api/fileAttributesController.service.ts +++ b/libs/red-ui-http/src/lib/api/fileAttributesController.service.ts @@ -408,7 +408,7 @@ export class FileAttributesControllerService { throw new Error('Required parameter ruleSetId was null or undefined when calling setFileAttributesConfiguration1.'); } - if (ruleSetId === null || ruleSetId === undefined) { + if (fileAttributeId === null || fileAttributeId === undefined) { throw new Error('Required parameter ruleSetId was null or undefined when calling setFileAttributesConfiguration1.'); } @@ -432,7 +432,7 @@ export class FileAttributesControllerService { return this.httpClient.request( 'delete', - `${this.basePath}/fileAttributes/config/fileAttribute/${encodeURIComponent(String(ruleSetId))}/${encodeURIComponent(String(ruleSetId))}`, + `${this.basePath}/fileAttributes/config/fileAttribute/${encodeURIComponent(String(ruleSetId))}/${encodeURIComponent(String(fileAttributeId))}`, { withCredentials: this.configuration.withCredentials, headers: headers,