From d8c1802a0156a806b30f9c120dcae54347abe79b Mon Sep 17 00:00:00 2001 From: Gosha Date: Tue, 5 Nov 2024 10:48:15 +0200 Subject: [PATCH] feat(api): add step parse on preview --- apps/api/src/app/workflows-v2/workflow.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/workflows-v2/workflow.controller.ts b/apps/api/src/app/workflows-v2/workflow.controller.ts index 0af88ab159d..2a63ccc7ca4 100644 --- a/apps/api/src/app/workflows-v2/workflow.controller.ts +++ b/apps/api/src/app/workflows-v2/workflow.controller.ts @@ -165,7 +165,7 @@ export class WorkflowController { async generatePreview( @UserSession(ParseSlugEnvironmentIdPipe) user: UserSessionData, @Param('workflowId', ParseSlugIdPipe) workflowId: string, - @Param('stepId') stepId: string, + @Param('stepId', ParseSlugIdPipe) stepId: string, @Body() generatePreviewRequestDto: GeneratePreviewRequestDto ): Promise { return await this.generatePreviewUseCase.execute(