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.description = json['description']
|
||||||
repo.save()
|
repo.save()
|
||||||
|
|
||||||
repo = model.create_repository(namespace_name, repository_name, owner,
|
|
||||||
visibility)
|
|
||||||
repo.description = json['description']
|
|
||||||
repo.save()
|
|
||||||
|
|
||||||
return jsonify({
|
return jsonify({
|
||||||
'namespace': namespace_name,
|
'namespace': namespace_name,
|
||||||
'name': repository_name
|
'name': repository_name
|
||||||
|
|
Reference in a new issue