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,