Corriger le nom du champ Storyblok pour la référence spectacle dans les événements (spectacle_slug → spectacle)

This commit is contained in:
Jalil Arfaoui 2026-03-09 17:05:13 +01:00
parent 4f8d5da759
commit d1df00ff4f

View file

@ -66,7 +66,7 @@ export function mapStoryToEvent(story: any): AgendaEvent {
id: story.uuid,
date: c.date || '',
location: c.lieu || '',
spectacleId: extractSlug(c.spectacle_slug),
spectacleId: extractSlug(c.spectacle),
bookingLink: c.lien_reservation || null,
_blok: c,
};