fix: show status after create workflow run
This commit is contained in:
1 parent
4ea9cb61dd
commit
942660d505
4 files changed
+68
-3
No files matched your search
@@ -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(
|
||||
// {
|
||||
|
||||
Reference in new issue
Block a user