diff options
-rw-r--r-- | caldav.js | 2 | ||||
-rw-r--r-- | lib/caldav/request/calendar_query.js | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -3116,9 +3116,7 @@ function write (chunk) { for (url in root) { collection = root[url]; - resources = collection.resourcetype; - if (resources.value.forEach) { resources.value.forEach(function(type) { diff --git a/lib/caldav/request/calendar_query.js b/lib/caldav/request/calendar_query.js index 8e5155f..0d48788 100644 --- a/lib/caldav/request/calendar_query.js +++ b/lib/caldav/request/calendar_query.js @@ -50,8 +50,7 @@ content += this.filter.toString(); } - var out = this.template.render(content); - return out; + return this.template.render(content); } }; |