Use getErrorMessage in superuser.js
This commit is contained in:
parent
d67c4ba46c
commit
951e6dd3ed
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@
|
|||
$scope.showInterface = true;
|
||||
}, function(resp) {
|
||||
$scope.users = [];
|
||||
$scope.usersError = resp['data']['message'] || resp['data']['error_description'] || resp['data']['detail'];
|
||||
$scope.usersError = ApiService.getErrorMessage(resp);
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -365,4 +365,4 @@
|
|||
// Load the initial status.
|
||||
$scope.checkStatus();
|
||||
}
|
||||
}());
|
||||
}());
|
||||
|
|
Reference in a new issue