Fix description handling in new repo view
This commit is contained in:
parent
41fb93de5c
commit
dbbec5a853
2 changed files with 4 additions and 1 deletions
|
@ -191,6 +191,8 @@ def create_repo_api():
|
|||
|
||||
repo = model.create_repository(namespace_name, repository_name, owner,
|
||||
visibility)
|
||||
repo.description = request.get_json()['description']
|
||||
repo.save()
|
||||
|
||||
return jsonify({
|
||||
'namespace': namespace_name,
|
||||
|
|
Reference in a new issue