diff --git a/server/repo.go b/server/repo.go index 2429b6fb..a8ea75cf 100644 --- a/server/repo.go +++ b/server/repo.go @@ -258,7 +258,6 @@ func MoveRepo(c *gin.Context) { if repo.IsPrivate != from.IsPrivate { repo.ResetVisibility() } - repo.Visibility = from.Visibility errStore := store.UpdateRepo(c, repo) if errStore != nil {