From 619241a08ec736303324211e36ea7dafc4f46c51 Mon Sep 17 00:00:00 2001 From: James Lal Date: Fri, 6 Jul 2012 16:50:20 -0700 Subject: home resolver now will return an object instead of just the url --- lib/caldav/request/calendar_home.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/caldav') 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); }); }, -- cgit