MCPcopy Create free account
hub / github.com/bewcloud/bewcloud / delete

Method delete

lib/models/calendar.ts:169–180  ·  view source on GitHub ↗
(
    userId: string,
    calendarId: string,
  )

Source from the content-addressed store, hash-verified

167 }
168
169 static async delete(
170 userId: string,
171 calendarId: string,
172 ): Promise<void> {
173 const calendarUrl = `${calendarConfig.calDavUrl}/${userId}/${calendarId}/`;
174
175 const client = await getClient(userId);
176
177 await client.deleteObject({
178 url: calendarUrl,
179 });
180 }
181}
182
183export class CalendarEventModel {

Callers

nothing calls this directly

Calls 2

deleteObjectMethod · 0.80
getClientFunction · 0.70

Tested by

no test coverage detected