Fix error displayed if a description was not entered for creating a robot
We were sending a `null` description, which the schema does not allow Fixes https://jira.coreos.com/browse/QUAY-935
This commit is contained in:
parent
babb7bb803
commit
e7ee235b31
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ angular.module('quay').directive('createRobotDialog', function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
'description': description
|
'description': description || ''
|
||||||
};
|
};
|
||||||
|
|
||||||
var errorDisplay = ApiService.errorDisplay('Cannot create robot account', function() {
|
var errorDisplay = ApiService.errorDisplay('Cannot create robot account', function() {
|
||||||
|
|
Reference in a new issue