Skip to content

Commit

Permalink
WIP fix getBenchmark query
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvisut committed Dec 23, 2024
1 parent e507b87 commit 90665c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/backend/routers/iep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 90665c3

Please sign in to comment.