Skip to content

Commit

Permalink
Force activate GHG FARM indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Oct 16, 2023
1 parent a50f5b7 commit 48c1dc2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion api/src/modules/indicators/indicators.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,13 @@ export class IndicatorsService extends AppBaseService<
} as Indicator),
);
await this.indicatorRepository.update(
{ nameCode: In([INDICATOR_NAME_CODES.ENL, INDICATOR_NAME_CODES.FLIL]) },
{
nameCode: In([
INDICATOR_NAME_CODES.ENL,
INDICATOR_NAME_CODES.FLIL,
INDICATOR_NAME_CODES.GHG_FARM,
]),
},
{ status: INDICATOR_STATUS.ACTIVE },
);
await this.indicatorRepository.save(activatedIndicators);
Expand Down

0 comments on commit 48c1dc2

Please sign in to comment.