mirror of https://github.com/nextcloud/contacts
fix typo in addressbook sharing
This commit is contained in:
parent
15412f3822
commit
8873f1b0e0
|
@ -83,7 +83,7 @@ app.controller('addressbookCtrl', ['$scope', 'AddressBookService', function($sco
|
|||
});
|
||||
};
|
||||
|
||||
ctrl.updateExistingGroupShare = function(calendar, groupId, writable) {
|
||||
ctrl.updateExistingGroupShare = function(addressBook, groupId, writable) {
|
||||
AddressBookService.share(addressBook, OC.Share.SHARE_TYPE_GROUP, groupId, writable, true).then(function() {
|
||||
$scope.$apply();
|
||||
});
|
||||
|
|
|
@ -129,7 +129,7 @@ app.controller('addressbookCtrl', ['$scope', 'AddressBookService', function($sco
|
|||
});
|
||||
};
|
||||
|
||||
ctrl.updateExistingGroupShare = function(calendar, groupId, writable) {
|
||||
ctrl.updateExistingGroupShare = function(addressBook, groupId, writable) {
|
||||
AddressBookService.share(addressBook, OC.Share.SHARE_TYPE_GROUP, groupId, writable, true).then(function() {
|
||||
$scope.$apply();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue