(
userId: string,
calendarId: string,
)
| 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 | |
| 183 | export class CalendarEventModel { |
nothing calls this directly
no test coverage detected