1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 15:44:25 +00:00

Fix API repository object format missed (#31118) (#31132)

Backport #31118 by @lunny

Fix #31117

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Giteabot 2024-05-28 17:59:56 +08:00 committed by GitHub
parent 447b3e2475
commit d6ae2b3c4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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