Browse Source

bug fixed for update repository (#664)

for-closed-social
Lunny Xiao 7 years ago
committed by GitHub
parent
commit
87ad4961f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

@ -1371,7 +1371,7 @@ func UpdateRepository(repo *Repository, visibilityChanged bool) (err error) {
return err return err
} }
if err = updateRepository(x, repo, visibilityChanged); err != nil {
if err = updateRepository(sess, repo, visibilityChanged); err != nil {
return fmt.Errorf("updateRepository: %v", err) return fmt.Errorf("updateRepository: %v", err)
} }

Loading…
Cancel
Save