api/src/modules/eudr-alerts/alerts.repository.ts
Function getAlertSummary
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async getAlertSummary(dto: any): Promise<EUDRAlertDatabaseResult[]> {
const bigQueryBuilder: BigQueryAlertsQueryBuilder =
this.createQueryBuilder(dto);
bigQueryBuilder
.from(this.baseDataset, 'alerts')