api/src/modules/h3-data/h3-data-map.service.ts
Function getImpactMapByResolution
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async getImpactMapByResolution(
getImpactMapDto:
| GetImpactMapDto
| GetActualVsScenarioImpactMapDto
| GetScenarioVsScenarioImpactMapDto,
Function getMaterialsH3DataYearsList
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async getMaterialsH3DataYearsList(
year: number,
materialIds?: string[],
): Promise<MaterialsH3DataYears[]> {
const materialsH3DataYears: MaterialsH3DataYears[] = [];