1
0
Fork 0
forked from forgejo/forgejo

Fix SSH key bug in windows

This commit is contained in:
Unknown 2014-03-22 14:27:03 -04:00
parent e385efcc22
commit b3cfd9fe0c
6 changed files with 40 additions and 24 deletions

View file

@ -372,7 +372,7 @@ func RepoPath(userName, repoName string) string {
}
func UpdateRepository(repo *Repository) error {
_, err := orm.Id(repo.Id).UseBool().Update(repo)
_, err := orm.Id(repo.Id).UseBool().Cols("description", "website").Update(repo)
return err
}