Skip to content

Commit

Permalink
fix: seed eap-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jannisvisser committed Jan 24, 2025
1 parent 21061c8 commit 1a469a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/API-service/src/scripts/seed-init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class SeedInit implements InterfaceScript {
return eapActionEntity;
})
.filter((action: EapActionEntity): boolean => {
return envDisasterTypes.includes(action.countryCodeISO3);
return envCountries.includes(action.countryCodeISO3);
});
const eapActionRepository = this.dataSource.getRepository(EapActionEntity);
await eapActionRepository.save(filteredActions);
Expand Down

0 comments on commit 1a469a6

Please sign in to comment.