diff --git a/package-lock.json b/package-lock.json index 057cdaea..7b53113d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4629,7 +4629,7 @@ "dev": true }, "cdav-library": { - "version": "github:nextcloud/cdav-library#46f1313d6d3843f7a55b8c065f2ff370f5357562", + "version": "github:nextcloud/cdav-library#ff47e205ef07cd38c174a3d0582f371cd4bc93f9", "from": "github:nextcloud/cdav-library", "requires": { "@babel/polyfill": "^7.0.0" diff --git a/src/store/calendars.js b/src/store/calendars.js index 67e51b61..ba1a0f51 100644 --- a/src/store/calendars.js +++ b/src/store/calendars.js @@ -380,7 +380,7 @@ const actions = { * @returns {Promise} */ async appendCalendar(context, calendar) { - return client.calendarHomes[0].createCalendarCollection(calendar.displayName, calendar.color) + return client.calendarHomes[0].createCalendarCollection(calendar.displayName, calendar.color, ['VTODO']) .then((response) => { calendar = mapDavCollectionToCalendar(response) context.commit('addCalendar', calendar)