Same fix for git repos

This commit is contained in:
Drew DeVault 2020-04-29 13:59:57 -04:00
parent 688195adb4
commit 5f1523bdfb
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ def git_new_POST(owner, project_name):
repo.name = git_repo["name"]
repo.description = git_repo["description"]
repo.repo_type = RepoType.git
repo.visibility = Visibility(repo["visibility"])
repo.visibility = Visibility(git_repo["visibility"])
db.session.add(repo)
db.session.flush()