Skip to content

Commit d556786

Browse files
authored
Update WorkflowsController.php
1 parent df835cd commit d556786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/WorkflowsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function running() {
3232
}
3333

3434
public function show($id) {
35-
$flow = config('workflows.stored_workflow_model', StoredWorkflow::class)::whereId($id)->with(['exceptions', 'logs'])->first();
35+
$flow = config('workflows.stored_workflow_model', StoredWorkflow::class)::find($id)->with(['exceptions', 'logs'])->first();
3636

3737
$flow->arguments = serialize(Y::unserialize($flow->arguments));
3838

0 commit comments

Comments
 (0)