Fix description handling in new repo view

This commit is contained in:
Joseph Schorr 2013-10-29 20:21:18 -04:00
parent 41fb93de5c
commit dbbec5a853
2 changed files with 4 additions and 1 deletions

View file

@ -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,