Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Jan 29, 2025
1 parent 48ceb7e commit a64090c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jobs/sirene/get-changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export const getEstablishmentChanges = async (element) => {
const establishment = await fetchEstablishmentById(siret);
if (!establishment) return [];

const period = data.periodesEtablissement?.[0];
const previousPeriod = data.periodesEtablissement?.[1];
const period = establishment.periodesEtablissement?.[0];
const previousPeriod = establishment.periodesEtablissement?.[1];

const changes = [];

Expand Down

0 comments on commit a64090c

Please sign in to comment.