From 6c386b18a602f315df1da0d85c9fcc50023303e6 Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Mon, 21 Aug 2017 15:56:44 -0400 Subject: [PATCH] Update to add visibility and isPrivate from the rename --- server/repo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/repo.go b/server/repo.go index 77c01396a..38b15c443 100644 --- a/server/repo.go +++ b/server/repo.go @@ -149,6 +149,8 @@ func PatchRepo(c *gin.Context) { repo.Avatar = from.Avatar repo.Link = from.Link repo.Clone = from.Clone + repo.IsPrivate = from.IsPrivate + repo.Visibility = from.Visibility } err := store.UpdateRepo(c, repo)