mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-19 20:35:11 +02:00
fix bug where a repo's group id and group sort order are zero in API output
This commit is contained in:
parent
84799ee16d
commit
e6ee1a248f
@ -253,6 +253,8 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
|
|||||||
Topics: util.SliceNilAsEmpty(repo.Topics),
|
Topics: util.SliceNilAsEmpty(repo.Topics),
|
||||||
ObjectFormatName: repo.ObjectFormatName,
|
ObjectFormatName: repo.ObjectFormatName,
|
||||||
Licenses: util.SliceNilAsEmpty(repoLicenses.StringList()),
|
Licenses: util.SliceNilAsEmpty(repoLicenses.StringList()),
|
||||||
|
GroupID: repo.GroupID,
|
||||||
|
GroupSortOrder: repo.GroupSortOrder,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user