aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/caldav/request/calendar_home.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/caldav/request/calendar_home.js b/lib/caldav/request/calendar_home.js
index 6401d8c..da51740 100644
--- a/lib/caldav/request/calendar_home.js
+++ b/lib/caldav/request/calendar_home.js
@@ -77,6 +77,7 @@
},
_findCalendarHome: function(url, callback) {
+ var details = {};
var find = new Propfind(this.connection, {
url: url
});
@@ -88,7 +89,11 @@
return callback(err);
}
- callback(null, findProperty('calendar-home-set', data, true));
+ details = {
+ url: findProperty('calendar-home-set', data, true)
+ };
+
+ callback(null, details);
});
},