aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-07-06 16:50:20 -0700
committerJames Lal <james@lightsofapollo.com>2012-07-06 16:50:20 -0700
commit619241a08ec736303324211e36ea7dafc4f46c51 (patch)
tree793ee6bf7f1bbf40e63e3d41ebee5c424e92106e /lib
parent1edfd60cccfdda4a21acbdef834f7b9db260af88 (diff)
downloadjsCalDAV-619241a08ec736303324211e36ea7dafc4f46c51.tar.gz
home resolver now will return an object instead of just the url
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);
});
},