diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-05-28 10:43:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 02:43:13 +0000 |
commit | cd7d1314fc6598931e9a651a1c17026b28aa2c62 (patch) | |
tree | 62cd16e2c7a30d8bca99945b4f913904eeba63c8 /services/convert/repository.go | |
parent | 858d4f221d71e9d761048d302f04cba223d5d9da (diff) | |
download | gitea-cd7d1314fc6598931e9a651a1c17026b28aa2c62.tar.gz gitea-cd7d1314fc6598931e9a651a1c17026b28aa2c62.zip |
Fix API repository object format missed (#31118)
Fix #31117
Diffstat (limited to 'services/convert/repository.go')
-rw-r--r-- | services/convert/repository.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/convert/repository.go b/services/convert/repository.go index 3b293fe550..26c591dd88 100644 --- a/services/convert/repository.go +++ b/services/convert/repository.go @@ -236,6 +236,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR MirrorInterval: mirrorInterval, MirrorUpdated: mirrorUpdated, RepoTransfer: transfer, + ObjectFormatName: repo.ObjectFormatName, } } |