From 2159d0ede6f177486bfff2dd631cd7446422c712 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 0c3a0ab44e..2de3ce331a 100644 --- a/modules/structs/repo.go +++ b/modules/structs/repo.go @@ -129,6 +129,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