diff --git a/src/backend/routers/iep.ts b/src/backend/routers/iep.ts index f02ef778..29ab56ed 100644 --- a/src/backend/routers/iep.ts +++ b/src/backend/routers/iep.ts @@ -366,10 +366,8 @@ export const iep = router({ // NOTE: existing code const result = await req.ctx.db .selectFrom("benchmark") - .where("benchmark.benchmark_id", "=", benchmark_id) .innerJoin("task", "benchmark.benchmark_id", "task.benchmark_id") .innerJoin("user", "task.assignee_id", "user.user_id") - .where("task.assignee_id", "=", "user.user_id") .where("benchmark.benchmark_id", "=", benchmark_id) .select((eb) => [ "benchmark.description",