talawa-api / Exports / helpers/event/updateEventHelpers/updateRecurringEvent
Module: helpers/event/updateEventHelpers/updateRecurringEvent
Table of contents
Functions
Functions
updateRecurringEvent
▸ updateRecurringEvent(args
, event
, session
): Promise
<InterfaceEvent
>
This function updates the recurring event.
Parameters
Name | Type | Description |
---|---|---|
args | MutationUpdateEventArgs | update event args. |
event | InterfaceEvent | the event to be updated. |
session | ClientSession | - |
Returns
Promise
<InterfaceEvent
>
The updated event.
Remarks
The following steps are followed:
- get the recurrence rule.
- get the base recurring event.
- based on the type of update, call the function required.
Defined in
src/helpers/event/updateEventHelpers/updateRecurringEvent.ts:24