fix bug where a repo's group id and group sort order are zero in API output

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧
2026-04-02 20:00:58 -04:00
parent 84799ee16d
commit e6ee1a248f
+2
View File
@@ -253,6 +253,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
Topics: util.SliceNilAsEmpty(repo.Topics),
ObjectFormatName: repo.ObjectFormatName,
Licenses: util.SliceNilAsEmpty(repoLicenses.StringList()),
GroupID: repo.GroupID,
GroupSortOrder: repo.GroupSortOrder,
}
}