From 691081846dc88fabc553cda3845f5e295febedfb Mon Sep 17 00:00:00 2001 From: danoswaltCL Date: Thu, 20 Jun 2024 12:04:09 -0400 Subject: [PATCH] commit change instead of cherry-pick --- .../Upgrade/src/api/services/ExperimentAssignmentService.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/packages/Upgrade/src/api/services/ExperimentAssignmentService.ts b/backend/packages/Upgrade/src/api/services/ExperimentAssignmentService.ts index ce831f665c..e34a6773f1 100644 --- a/backend/packages/Upgrade/src/api/services/ExperimentAssignmentService.ts +++ b/backend/packages/Upgrade/src/api/services/ExperimentAssignmentService.ts @@ -218,9 +218,8 @@ export class ExperimentAssignmentService { where: { site: site, target: target, - user: userId, + user: userDoc, }, - relations: ['user'], }); if (experimentId && experiments.length) { const selectedExperimentDP = dpExperiments.find((dp) => dp.experiment.id === experimentId);