delete endpoint fixes

This commit is contained in:
Timo 2021-03-23 18:39:59 +02:00
parent 5aed987356
commit 7a70a70659

View File

@ -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<any>(
'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,