Skip to content

Commit

Permalink
WIP got rid of error in iep.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvisut committed Dec 22, 2024
1 parent ca43a3d commit 8223eb7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/backend/routers/iep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -399,7 +403,6 @@ export const iep = router({
).as("assignees"),
])
.executeTakeFirstOrThrow();
// .execute();
return result;
}),

Expand Down

0 comments on commit 8223eb7

Please sign in to comment.