Fix API repository object format missed (#31118)

Fix #31117
This commit is contained in:
Lunny Xiao 2024-05-28 10:43:13 +08:00 committed by GitHub
parent 858d4f221d
commit cd7d1314fc
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,
MirrorUpdated: mirrorUpdated,
RepoTransfer: transfer,
ObjectFormatName: repo.ObjectFormatName,
}
}