aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--caldav.js2
-rw-r--r--lib/caldav/request/calendar_query.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/caldav.js b/caldav.js
index 3c13c54..82528fb 100644
--- a/caldav.js
+++ b/caldav.js
@@ -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);
}
};