From 0a3ad4e7f54ccb4f036ea37b9f857258925e2ced Mon Sep 17 00:00:00 2001 From: Arunavo Ray Date: Tue, 24 Feb 2026 08:31:16 +0530 Subject: [PATCH] Fix retry mirror strategy fallback --- src/pages/api/job/retry-repo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/api/job/retry-repo.ts b/src/pages/api/job/retry-repo.ts index f6e698d..443eb31 100644 --- a/src/pages/api/job/retry-repo.ts +++ b/src/pages/api/job/retry-repo.ts @@ -145,7 +145,7 @@ export const POST: APIRoute = async ({ request }) => { // For single-org strategy, or when mirroring to an org, // use the org mirroring function to ensure proper organization handling const mirrorStrategy = config.githubConfig?.mirrorStrategy || - (config.githubConfig?.preserveOrgStructure ? "preserve" : "flat-user"); + (config.giteaConfig?.preserveOrgStructure ? "preserve" : "flat-user"); const shouldUseOrgMirror = owner !== config.giteaConfig?.defaultOwner || // Different owner means org