[ACS-3721] Change folder rules endpoints to private (#2710)

This commit is contained in:
Thomas Hunter 2022-10-13 14:14:48 +01:00 committed by GitHub
parent fbc33dd137
commit a66226992e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,8 @@ export class FolderRulesService {
} }
private apiCall(path: string, httpMethod: string, params?: any[]): Promise<any> { private apiCall(path: string, httpMethod: string, params?: any[]): Promise<any> {
return this.apiService.getInstance().contentClient.callApi(path, httpMethod, ...params); // APIs used by this service are still private and not yet available for public use
return this.apiService.getInstance().contentPrivateClient.callApi(path, httpMethod, ...params);
} }
private formatRules(res): Rule[] { private formatRules(res): Rule[] {