mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-17 17:45:03 +02:00
remove lingering visibility
This commit is contained in:
parent
f54175de91
commit
06bffddf96
@ -258,7 +258,6 @@ func MoveRepo(c *gin.Context) {
|
|||||||
if repo.IsPrivate != from.IsPrivate {
|
if repo.IsPrivate != from.IsPrivate {
|
||||||
repo.ResetVisibility()
|
repo.ResetVisibility()
|
||||||
}
|
}
|
||||||
repo.Visibility = from.Visibility
|
|
||||||
|
|
||||||
errStore := store.UpdateRepo(c, repo)
|
errStore := store.UpdateRepo(c, repo)
|
||||||
if errStore != nil {
|
if errStore != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user