Add topics for repository API (#31127)

Fix ##31100

(cherry picked from commit de4616690f742aebc3e019fde5c73c432d543292)
This commit is contained in:
Lunny Xiao 2024-05-28 18:03:54 +08:00 committed by Earl Warren
parent 344bf48c9b
commit ee2247d77c
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 9 additions and 0 deletions

View file

@ -237,6 +237,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
MirrorInterval: mirrorInterval,
MirrorUpdated: mirrorUpdated,
RepoTransfer: transfer,
Topics: repo.Topics,
ObjectFormatName: repo.ObjectFormatName,
}
}