From cd7d1314fc6598931e9a651a1c17026b28aa2c62 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 28 May 2024 10:43:13 +0800 Subject: [PATCH] Fix API repository object format missed (#31118) Fix #31117 --- services/convert/repository.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/convert/repository.go b/services/convert/repository.go index 3b293fe55..26c591dd8 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, } }