talawa-api / Exports / helpers/event/updateEventHelpers/updateThisInstance
Module: helpers/event/updateEventHelpers/updateThisInstance
Table of contents
Functions
Functions
updateThisInstance
▸ updateThisInstance(args
, event
, session
): Promise
<InterfaceEvent
>
This function updates only this instance of a recurrence pattern. This will make the instance an exception to the recurrence pattern.
Parameters
Name | Type | Description |
---|---|---|
args | MutationUpdateEventArgs | update event args. |
event | InterfaceEvent | the event to be updated. |
session | ClientSession | - |
Returns
Promise
<InterfaceEvent
>
The updated recurring event instance.
Remarks
The following steps are followed:
- Update this instance.
Defined in
src/helpers/event/updateEventHelpers/updateThisInstance.ts:17