diff --git a/src/Facade/Requests/AbstractPropFindWebDAVRequest.php b/src/Facade/Requests/AbstractPropFindWebDAVRequest.php index 016c041..5d3fd19 100644 --- a/src/Facade/Requests/AbstractPropFindWebDAVRequest.php +++ b/src/Facade/Requests/AbstractPropFindWebDAVRequest.php @@ -31,13 +31,14 @@ public function getContent() $service = new Service(); $service->namespaceMap = [ - 'DAV:' => 'D', - 'urn:ietf:params:xml:ns:caldav' => 'C' + 'DAV:' => 'D', + 'urn:ietf:params:xml:ns:caldav' => 'C', + 'http://calendarserver.org/ns/' => 'CS', ]; $elements = []; foreach( $this->properties as $val ) { - $elements[] = [ $val => ""]; + $elements[] = [ $val => "" ]; } return $service->write('{DAV:}propfind', [ diff --git a/src/Facade/Requests/GetCalendarRequest.php b/src/Facade/Requests/GetCalendarRequest.php index b2b084c..2bc7640 100644 --- a/src/Facade/Requests/GetCalendarRequest.php +++ b/src/Facade/Requests/GetCalendarRequest.php @@ -29,7 +29,7 @@ public function __construct(){ '{DAV:}resourcetype', '{DAV:}sync-token', '{DAV:}getetag', - '{http://calendarserver.org/ns/:}getctag', + '{http://calendarserver.org/ns/}getctag', ]; } } \ No newline at end of file diff --git a/src/Facade/Requests/GetCalendarsRequest.php b/src/Facade/Requests/GetCalendarsRequest.php index 7f88a9d..05d0039 100644 --- a/src/Facade/Requests/GetCalendarsRequest.php +++ b/src/Facade/Requests/GetCalendarsRequest.php @@ -21,7 +21,7 @@ public function __construct(){ $this->properties = [ '{DAV:}resourcetype', '{DAV:}displayname', - '{http://calendarserver.org/ns/:}getctag', + '{http://calendarserver.org/ns/}getctag', '{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set', ]; }