(id: string, auth?: AuthContext | null)
| 521 | } |
| 522 | |
| 523 | async delete(id: string, auth?: AuthContext | null): Promise<void> { |
| 524 | const organizationId = await this.requireWorkflowAdmin(id, auth); |
| 525 | await this.repository.delete(id, { organizationId }); |
| 526 | this.logger.log(`Deleted workflow ${id}`); |
| 527 | } |
| 528 | |
| 529 | async list(auth?: AuthContext | null): Promise<ServiceWorkflowResponse[]> { |
| 530 | const organizationId = this.requireOrganizationId(auth); |
no test coverage detected