import prop from './prop';

export default function propfind(object) {
  return `<d:propfind xmlns:c="urn:ietf:params:xml:ns:caldav"
              xmlns:card="urn:ietf:params:xml:ns:carddav"
              xmlns:cs="http://calendarserver.org/ns/"
              xmlns:d="DAV:">
    <d:prop>
      ${object.props.map(prop)}
    </d:prop>
  </d:propfind>`;
}

@@ -239,16 +239,67 @@
 rg/ns/%22%0A
+              xmlns:ca=%22http://apple.com/ns/ical/%22%0A
         

add missing apple namespace