fix: show status after create workflow run

This commit is contained in:
BennyKok committed 2023-12-15 19:48:51 +08:00
1 parent 4ea9cb61dd
commit 942660d505
4 files changed
+68 -3

No files matched your search

+4 -1
View File
@@ -102,7 +102,10 @@ export async function createRun(
revalidatePath(`/${workflow_version_data.workflow_id}`);
return workflow_run[0].id;
return {
workflow_run_id: workflow_run[0].id,
message: "Successfully workflow run",
};
// return NextResponse.json(
// {