Skip to content

Commit

Permalink
fix(orchestrator): v2 inputSchema API gets stuck for specific workflow (
Browse files Browse the repository at this point in the history
#2208)

v2 inputSchema API gets stuck for specific workflow
FLPATH-1703
https://issues.redhat.com/browse/FLPATH-1703

Signed-off-by: Yaron Dayagi <ydayagi@redhat.com>
  • Loading branch information
ydayagi authored Sep 18, 2024
1 parent 6a5c5d9 commit 9229d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/orchestrator-backend/src/service/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ function setupInternalRoutes(
}

if (!definition.dataInputSchema) {
res.status(200).json(res);
res.status(200).json({});
return;
}

Expand Down Expand Up @@ -770,7 +770,7 @@ function setupInternalRoutes(
!workflowInfo.inputSchema ||
!workflowInfo.inputSchema.properties
) {
res.status(200);
res.status(200).json({});
return;
}

Expand Down

0 comments on commit 9229d5d

Please sign in to comment.