Skip to content

Commit

Permalink
fix: add log to mock data controller
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenGeo committed May 11, 2021
1 parent 38b847a commit 8b9a9f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/API-service/src/scripts/scripts.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ export class ScriptsController {
];
for (const unit of exposureUnitsPHL) {
for (const activeLeadTime of selectedCountry.countryActiveLeadTimes) {
console.log(
`Seeding leadtime: ${activeLeadTime} unit: ${unit} for country: ${selectedCountry.countryCodeISO3}`,
);
await this.adminAreaDynamicDataService.exposure({
countryCodeISO3: body.countryCodeISO3,
exposurePlaceCodes: body.triggered ? exposureTriggered : exposure,
Expand Down

0 comments on commit 8b9a9f0

Please sign in to comment.