Skip to content

Commit

Permalink
feat(plugin): ajout attribut imagesUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
olivocto authored and SEFR committed Jan 11, 2023
1 parent a02d620 commit 3970c9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/meilisearch/annonce-de-logement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const configurationAnnonceDeLogementMeilisearch = {
"surfaceAAfficher",
"type",
"url",
"imagesUrl",
"sourceUpdatedAt",
"localisationAAfficher",
],
Expand All @@ -77,6 +78,7 @@ export const configurationAnnonceDeLogementMeilisearch = {
dateDeMiseAJour: getSourceUpdatedAtToDisplay(entry.sourceUpdatedAt),
devise: getDeviseToDisplay(entry.devise),
localisationAAfficher: getLocalisationToDisplay(entry.localisation),
imagesUrl: entry.imagesUrl.map((image) => image.value),
localisation: entry.localisation && {
ville: entry.localisation.ville,
codePostal: entry.localisation.codePostal,
Expand Down

0 comments on commit 3970c9c

Please sign in to comment.