Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
50134305
Commit
50134305
authored
Jan 28, 2019
by
Piotr Gawron
Browse files
method should always return the same type
parent
ccaa3905
Pipeline
#8512
passed with stage
in 2 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/ServerConnector.js
View file @
50134305
...
...
@@ -1242,7 +1242,7 @@ ServerConnector.updateUser = function (user) {
return
self
.
getConfiguration
();
}).
then
(
function
(
configuration
)
{
if
(
!
canModifyPrivileges
)
{
return
Promise
.
resolve
();
return
Promise
.
resolve
(
user
);
}
return
self
.
updateUserPrivileges
({
user
:
user
,
privileges
:
user
.
privilegesToExport
(
configuration
)});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment