Skip to main content

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

NameTypeDescription
argsMutationUpdateEventArgsupdate event args.
eventInterfaceEventthe event to be updated.
sessionClientSession-

Returns

Promise<InterfaceEvent>

The updated recurring event instance.

Remarks

The following steps are followed:

  1. Update this instance.

Defined in

src/helpers/event/updateEventHelpers/updateThisInstance.ts:17