From 8223eb76c9c52e8b15a0ed0fd6560ce5cf4b84f4 Mon Sep 17 00:00:00 2001 From: Nick Visutsithiwong <2823112+nickvisut@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:46:18 -0800 Subject: [PATCH] WIP got rid of error in iep.ts --- src/backend/routers/iep.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/backend/routers/iep.ts b/src/backend/routers/iep.ts index e8b2aacd..08e2fca5 100644 --- a/src/backend/routers/iep.ts +++ b/src/backend/routers/iep.ts @@ -389,7 +389,11 @@ export const iep = router({ .where("task.assignee_id", "=", "user.user_id") .where("benchmark.benchmark_id", "=", benchmark_id) .select((eb) => [ - "*", + "benchmark.description", + "benchmark.instructions", + "benchmark.frequency", + "benchmark.number_of_trials", + "benchmark.benchmark_id", jsonArrayFrom( eb .selectFrom("user") @@ -399,7 +403,6 @@ export const iep = router({ ).as("assignees"), ]) .executeTakeFirstOrThrow(); - // .execute(); return result; }),