Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/hooks/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ app.post("/hooks/catch/:userId/:workflowId", async (req, res) => {
});
} catch (error: any) {
console.log(error);
res.status(500).json({
return res.status(500).json({
success: false,
error: "Failed to process webhook"
});
Expand Down
2 changes: 1 addition & 1 deletion apps/http-backend/src/routes/userRoutes/userRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ router.post("/executeWorkflow", userMiddleware, async (req: AuthRequest, res) =>
const parsedData = ExecuteWorkflow.safeParse(Data);
console.log("This is the log data of execute work flow zod", parsedData.error)
if (!parsedData.success) {
return res.status(statusCodes.FORBIDDEN).json({
return res.status(statusCodes.BAD_REQUEST).json({
message: "Error in Zod Schma",

Copilot AI Jan 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error message contains a spelling error: "Schma" should be "Schema".

Suggested change
message: "Error in Zod Schma",
message: "Error in Zod Schema",

Copilot uses AI. Check for mistakes.
Data: parsedData.error
})
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/workflows/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function WorkflowCanvas() {
toast.success("Execution Started")
}
catch (error: any) {
toast.error("Failed to save config");
toast.error("Failed to Execute Workflow");

}
finally {
Expand Down
Loading