mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-26 15:52:57 +08:00
bug fixed for update repository (#664)
This commit is contained in:
parent
64b167138f
commit
87ad4961f6
@ -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…
Reference in New Issue
Block a user