Closed HeikoTheissen closed 3 years ago
https://github.com/sedenardi/node-caldav-adapter/blob/62a34c2c9204db37f789d08c378318127cb4090d/src/common/xBuild.ts#L29
If responses.length === 0, then res is constructed from the previous nsMap, so the <multistatus>element from previous response is returned again. Correct would be to return an empty <multistatus> element in that case.
responses.length === 0
res
nsMap
<multistatus>
https://github.com/sedenardi/node-caldav-adapter/blob/62a34c2c9204db37f789d08c378318127cb4090d/src/common/xBuild.ts#L29
If
responses.length === 0
, thenres
is constructed from the previousnsMap
, so the<multistatus>
element from previous response is returned again. Correct would be to return an empty<multistatus>
element in that case.