diff options
author | James Lal <james@lightsofapollo.com> | 2012-07-06 16:50:20 -0700 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-07-06 16:50:20 -0700 |
commit | 619241a08ec736303324211e36ea7dafc4f46c51 (patch) | |
tree | 793ee6bf7f1bbf40e63e3d41ebee5c424e92106e /lib/caldav | |
parent | 1edfd60cccfdda4a21acbdef834f7b9db260af88 (diff) | |
download | jsCalDAV-619241a08ec736303324211e36ea7dafc4f46c51.tar.gz |
home resolver now will return an object instead of just the url
Diffstat (limited to 'lib/caldav')
-rw-r--r-- | lib/caldav/request/calendar_home.js | 7 |
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); }); }, |