(runId: string, auth?: AuthContext | null)
| 696 | } |
| 697 | |
| 698 | async getRun(runId: string, auth?: AuthContext | null): Promise<WorkflowRunSummary> { |
| 699 | const organizationId = this.requireOrganizationId(auth); |
| 700 | const run = await this.runRepository.findByRunId(runId, { organizationId }); |
| 701 | if (!run) { |
| 702 | throw new NotFoundException(`Workflow run ${runId} not found`); |
| 703 | } |
| 704 | return this.buildRunSummary(run, organizationId); |
| 705 | } |
| 706 | |
| 707 | async commit(id: string, auth?: AuthContext | null): Promise<WorkflowDefinition> { |
| 708 | const organizationId = await this.requireWorkflowAdmin(id, auth); |
no test coverage detected