From 674e9e6a11935c2ceb4b9ac99a41525a5d44f6ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Thu, 21 Dec 2017 11:08:03 +0100 Subject: [PATCH] Fixes #836 - use user id not the displayname --- js/app/controllers/calendarlistcontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app/controllers/calendarlistcontroller.js b/js/app/controllers/calendarlistcontroller.js index b57be8544..ed7147ee2 100644 --- a/js/app/controllers/calendarlistcontroller.js +++ b/js/app/controllers/calendarlistcontroller.js @@ -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(); });