From 0f6bd6bc5e08f302767b99c8a9da03a93711ae5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 13 Aug 2025 02:50:56 -0400 Subject: [PATCH] add `GroupID` and `GroupSortOrder` fields to `Repository` api struct --- modules/structs/repo.go | 3 +++ 1 file changed, 3 insertions(+) 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