Make sure the create robot account error dialog shows a proper message
This commit is contained in:
parent
faa46a12f2
commit
c8a450cdf0
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function getFirstTextLine(commentString) {
|
|||
function createRobotAccount(ApiService, is_org, orgname, name, callback) {
|
||||
ApiService.createRobot(is_org ? orgname : null, null, {'robot_shortname': name}).then(callback, function(resp) {
|
||||
bootbox.dialog({
|
||||
"message": resp.data ? resp.data : 'The robot account could not be created',
|
||||
"message": resp.data ? resp.data['message'] : 'The robot account could not be created',
|
||||
"title": "Cannot create robot account",
|
||||
"buttons": {
|
||||
"close": {
|
||||
|
|
Reference in a new issue