From 637db7e6465972e3607709f19616d009c663e1f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?enes=20sayac=C4=B1?= <37274063+enessayaci@users.noreply.github.com> Date: Thu, 15 Feb 2024 13:49:37 +0300 Subject: [PATCH] Update calendar.md typo at passed parameter name on beforeUpdateEvent --- docs/en/apis/calendar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/apis/calendar.md b/docs/en/apis/calendar.md index 629b2d336..25d3c9ba2 100644 --- a/docs/en/apis/calendar.md +++ b/docs/en/apis/calendar.md @@ -817,8 +817,8 @@ In the following cases, `beforeUpdateEvent` is executed. ```js // Basic example of updating an event -calendar.on('beforeUpdateEvent', ({ event, change }) => { - calendar.updateEvent(event.id, event.calendarId, change); +calendar.on('beforeUpdateEvent', ({ event, changes }) => { + calendar.updateEvent(event.id, event.calendarId, changes); }); ```