Skip to content

Commit 358f7f8

Browse files
authored
Merge pull request #93 from nibdo/fix/make_calendar_attributes
Add missing attribute to makeCalendar method
2 parents 58127df + 540d8fa commit 358f7f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/calendar.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ export const makeCalendar = async (params: {
8585
namespace: DAVNamespaceShort.DAV,
8686
body: {
8787
[`${DAVNamespaceShort.CALDAV}:mkcalendar`]: {
88-
_attributes: getDAVAttribute([DAVNamespace.DAV, DAVNamespace.CALDAV]),
88+
_attributes: getDAVAttribute([
89+
DAVNamespace.DAV,
90+
DAVNamespace.CALDAV,
91+
DAVNamespace.CALDAV_APPLE,
92+
]),
8993
set: {
9094
prop: props,
9195
},

0 commit comments

Comments
 (0)