Skip to content

Commit

Permalink
(fix) incorrect reference to workflow report table in JobRun
Browse files Browse the repository at this point in the history
  • Loading branch information
EMaslowskiQ committed Sep 3, 2024
1 parent add1229 commit cf4b4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/db/api/WorkflowReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class WorkflowReport extends DBC.DBObject<WorkflowReportBase> implements
try {
return DBC.CopyArray<WorkflowReportBase, WorkflowReport> (
await DBC.DBConnection.prisma.$queryRaw<WorkflowReport[]>`
SELECT w.* FROM JobRun AS jRun
SELECT wReport.* FROM JobRun AS jRun
JOIN WorkflowStep AS wStep ON wStep.idJobRun = jRun.idJobRun
JOIN WorkflowReport AS wReport ON wReport.idWorkflow = wStep.idWorkflow
WHERE jRun.idJobRun = ${idJobRun};`,WorkflowReport);
Expand Down

0 comments on commit cf4b4a9

Please sign in to comment.