Update to add visibility and isPrivate from the rename

This commit is contained in:
Joachim Hill-Grannec 2017-08-21 15:56:44 -04:00
parent 8e13d374bc
commit 6c386b18a6

View file

@ -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)