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; }),