diff --git a/app/assets/javascripts/angular/services/user-service.js b/app/assets/javascripts/angular/services/user-service.js index 441e399a60..b54e83771b 100644 --- a/app/assets/javascripts/angular/services/user-service.js +++ b/app/assets/javascripts/angular/services/user-service.js @@ -31,7 +31,7 @@ angular.module('openproject.services') .service('UserService', ['$http', 'PathHelper', function($http, PathHelper) { var registeredUserIds = [], cachedUsers = {}; - UserService = { + var UserService = { getUsers: function(projectIdentifier) { var url, params;