From 12bc6be8fb54cb5d82c7b89e88b6900978a7ac53 Mon Sep 17 00:00:00 2001 From: Benjamin Blanchard Date: Thu, 21 Nov 2024 14:58:33 -0500 Subject: [PATCH] get export log data from replica --- backend/packages/Upgrade/src/api/repositories/LogRepository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/packages/Upgrade/src/api/repositories/LogRepository.ts b/backend/packages/Upgrade/src/api/repositories/LogRepository.ts index e0f3c1f63d..b2b681e937 100644 --- a/backend/packages/Upgrade/src/api/repositories/LogRepository.ts +++ b/backend/packages/Upgrade/src/api/repositories/LogRepository.ts @@ -139,7 +139,7 @@ export class LogRepository extends Repository { type: IMetricMetaData; }> > { - const experimentRepo = Container.getCustomRepository(ExperimentRepository); + const experimentRepo = Container.getCustomRepository(ExperimentRepository, 'export'); return experimentRepo .createQueryBuilder('experiment') .select([