Corriger le nom du champ Storyblok pour la référence spectacle dans les événements (spectacle_slug → spectacle)
This commit is contained in:
parent
4f8d5da759
commit
d1df00ff4f
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ export function mapStoryToEvent(story: any): AgendaEvent {
|
||||||
id: story.uuid,
|
id: story.uuid,
|
||||||
date: c.date || '',
|
date: c.date || '',
|
||||||
location: c.lieu || '',
|
location: c.lieu || '',
|
||||||
spectacleId: extractSlug(c.spectacle_slug),
|
spectacleId: extractSlug(c.spectacle),
|
||||||
bookingLink: c.lien_reservation || null,
|
bookingLink: c.lien_reservation || null,
|
||||||
_blok: c,
|
_blok: c,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue