0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 12:26:12 +02:00

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 ◦❧ 2025-08-21 20:04:09 -04:00
parent 84799ee16d
commit e6ee1a248f
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

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,
}
}