From bd7064ab87a11e1e4eb438692bf1ee53b50ef835 Mon Sep 17 00:00:00 2001 From: dvirlabs <114520947+dvirlabs@users.noreply.github.com> Date: Thu, 14 May 2026 11:38:10 +0300 Subject: [PATCH] Fix: Change frontend parameter from guest_id to event_id for button URL --- frontend/src/components/TemplateEditor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TemplateEditor.jsx b/frontend/src/components/TemplateEditor.jsx index 2b1fe41..0f606e9 100644 --- a/frontend/src/components/TemplateEditor.jsx +++ b/frontend/src/components/TemplateEditor.jsx @@ -11,7 +11,7 @@ const PARAM_OPTIONS = [ { key: 'event_date', label: 'תאריך האירוע', sample: '15/06' }, { key: 'event_time', label: 'שעת ההתחלה', sample: '18:30' }, { key: 'guest_link', label: 'קישור RSVP מלא', sample: 'https://invy.dvirlabs.com/guest/abc123' }, - { key: 'guest_id', label: 'מזהה אורח (לכפתור)', sample: '4a0fd7f0-80c8-4832-8d82-984df7d25b60' }, + { key: 'event_id', label: 'מזהה אירוע (לכפתור)', sample: 'f3122a7d-1d7c-4cc1-955d-1c6b7358bd25' }, ] const SAMPLE_MAP = Object.fromEntries(PARAM_OPTIONS.map(o => [o.key, o.sample]))