src/frontend/packages/cloud-foundry/src/user-permissions/cf-user-roles-fetch.ts
Function dispatchRoleRequests
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
function dispatchRoleRequests(
endpoints: EntityUserRolesEndpoint[],
store: Store<AppState>,
httpClient: HttpClient
): CfsRequestState {
Function fetchCfUserRole
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
export function fetchCfUserRole(store: Store<AppState>, action: GetCurrentCfUserRelations, httpClient: HttpClient): Observable<boolean> {
const url = `pp/v1/proxy/v2/users/${action.guid}/${action.relationType}`;
const params = {
headers: {
'x-cap-cnsi-list': action.endpointGuid,