talawa-api / Exports / helpers/event/updateEventHelpers/getEventData
Module: helpers/event/updateEventHelpers/getEventData
Table of contents
Functions
Functions
getEventData
▸ getEventData(updateEventInputData
, event
): InterfaceRecurringEvent
This function get the data to be used for generating the recurring event instances.
Parameters
Name | Type | Description |
---|---|---|
updateEventInputData | undefined | null | UpdateEventInput | the update event input data. |
event | InterfaceEvent | the event to be updated. |
Returns
The updated event data.
Remarks
The following steps are followed:
- get the current event data.
- update the data provided in the input.