mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
Same fix for git repos
This commit is contained in:
parent
688195adb4
commit
5f1523bdfb
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue