Fix a merge error in create_repo_api.
This commit is contained in:
parent
3a11ea4229
commit
5838e1bc07
1 changed files with 0 additions and 5 deletions
|
@ -407,11 +407,6 @@ def create_repo_api():
|
|||
repo.description = json['description']
|
||||
repo.save()
|
||||
|
||||
repo = model.create_repository(namespace_name, repository_name, owner,
|
||||
visibility)
|
||||
repo.description = json['description']
|
||||
repo.save()
|
||||
|
||||
return jsonify({
|
||||
'namespace': namespace_name,
|
||||
'name': repository_name
|
||||
|
|
Reference in a new issue