Skip to content

Commit 8116b93

Browse files
fix bug where a repo's group id and group sort order are zero in API output
1 parent 0bebc77 commit 8116b93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/convert/repository.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
252252
Topics: util.SliceNilAsEmpty(repo.Topics),
253253
ObjectFormatName: repo.ObjectFormatName,
254254
Licenses: util.SliceNilAsEmpty(repoLicenses.StringList()),
255+
GroupID: repo.GroupID,
256+
GroupSortOrder: repo.GroupSortOrder,
255257
}
256258
}
257259

0 commit comments

Comments
 (0)