diff options
Diffstat (limited to 'js/dav/lib/client.js')
-rw-r--r-- | js/dav/lib/client.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/dav/lib/client.js b/js/dav/lib/client.js index 2846278f..ccec11b6 100644 --- a/js/dav/lib/client.js +++ b/js/dav/lib/client.js @@ -108,6 +108,11 @@ export class Client { return contacts.deleteCard(card, options); } + getContacts(addressBook, options={}, hrefs) { + options.xhr = options.xhr || this.xhr; + return contacts.getContacts(addressBook, options, hrefs); + } + syncAddressBook(addressBook, options={}) { options.xhr = options.xhr || this.xhr; return contacts.syncAddressBook(addressBook, options); |