Skip to content

Commit

Permalink
fix(stages/meilisearch): ajout du slug
Browse files Browse the repository at this point in the history
  • Loading branch information
SEFR authored and Sefrancois committed Jan 19, 2023
1 parent c1bd99d commit d537333
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export function transformerOffreDeStage({ entry }: { entry: OffreDeStageEntry })
niveauEtude: entry.preRequis?.niveauEtude,
dureeCategorisee: categorisation(entry.dureeEnJour),
localisationFiltree: [entry.localisation?.ville, entry.localisation?.region, entry.localisation?.departement],
localisation: getLocalisation(entry.localisation)
localisation: getLocalisation(entry.localisation),
slug: entry.slug,
};
}
3 changes: 2 additions & 1 deletion config/meilisearch/offre-de-stage/offre-de-stage.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export interface OffreDeStageMeilisearch {
nomEmployeur: string;
description: string;
duree: string;
logoUrlEmployeur: string,
logoUrlEmployeur: string;
slug: string;
}

enum Source {
Expand Down

0 comments on commit d537333

Please sign in to comment.