Skip to content

Commit

Permalink
fix(framework): Default to health action (#6634)
Browse files Browse the repository at this point in the history
  • Loading branch information
SokratisVidros authored Oct 7, 2024
1 parent fcc12b0 commit afcdd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class NovuRequestHandler<Input extends any[] = any[], Output = any> {
private async handleAction({ actions }: { actions: HandlerResponse<Output> }): Promise<IActionResponse> {
const url = await actions.url();
const method = await actions.method();
const action = url.searchParams.get(HttpQueryKeysEnum.ACTION) || '';
const action = url.searchParams.get(HttpQueryKeysEnum.ACTION) || GetActionEnum.HEALTH_CHECK;
const workflowId = url.searchParams.get(HttpQueryKeysEnum.WORKFLOW_ID) || '';
const stepId = url.searchParams.get(HttpQueryKeysEnum.STEP_ID) || '';
const signatureHeader =
Expand Down

0 comments on commit afcdd8f

Please sign in to comment.