diff --git a/modules/structs/repo.go b/modules/structs/repo.go index 7cd64fd7a4..194f595cbd 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -121,6 +121,9 @@ type Repository struct { RepoTransfer *RepoTransfer `json:"repo_transfer,omitempty"` Topics []string `json:"topics"` Licenses []string `json:"licenses"` + + GroupID int64 `json:"group_id"` + GroupSortOrder int `json:"group_sort_order"` } // CreateRepoOption options when creating repository