Update to add visibility and isPrivate from the rename
This commit is contained in:
parent
8e13d374bc
commit
6c386b18a6
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue