mirror of
https://github.com/harness/drone.git
synced 2025-05-09 04:29:28 +08: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…
Reference in New Issue
Block a user