Work in progress: Continue on org view
This commit is contained in:
parent
3a11ea4229
commit
e70f863350
4 changed files with 33 additions and 19 deletions
|
@ -249,6 +249,7 @@ def get_organization(orgname):
|
|||
return {
|
||||
'id': t.id,
|
||||
'name': t.name,
|
||||
'description': t.description,
|
||||
'can_view': view_permission.can()
|
||||
}
|
||||
|
||||
|
@ -407,11 +408,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