Skip to content

Commit

Permalink
Fixes #836 - use user id not the displayname
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Dec 21, 2017
1 parent b66a99e commit a9b79e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/app/controllers/calendarlistcontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ app.controller('CalendarListController', ['$scope', '$rootScope', '$window', 'Ha
});
};

$scope.updateExistingUserShare = function(calendar, displayname, userId, writable) {
$scope.updateExistingUserShare = function(calendar, userId, displayname, writable) {
calendar.share(constants.SHARE_TYPE_USER, userId, displayname, writable, true).then(function() {
$scope.$apply();
});
Expand Down

0 comments on commit a9b79e7

Please sign in to comment.