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