talawa-api / Exports / helpers/event/deleteEventHelpers/deleteSingleEvent
Module: helpers/event/deleteEventHelpers/deleteSingleEvent
Table of contents
Functions
Functions
deleteSingleEvent
▸ deleteSingleEvent(eventId
, session
, recurrenceRule?
, baseRecurringEvent?
): Promise
<void
>
This function deletes a single event.
Parameters
Name | Type |
---|---|
eventId | string |
session | ClientSession |
recurrenceRule? | string |
baseRecurringEvent? | string |
Returns
Promise
<void
>
Remarks
The following steps are followed:
- remove the associations of the event.
- delete the event.
Defined in
src/helpers/event/deleteEventHelpers/deleteSingleEvent.ts:19