admin workflow

main
panliang 2024-04-26 10:29:52 +08:00
parent d6f8165d63
commit 6b84fdf992
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ class WorkflowController extends Controller
$request->validate([
'subject_type' => 'required',
]);
$subjectType = $request->input('subject_type');
if ($subjectType == (new TaskHygiene)->getMorphClass()) {
$task = Task::findOrFail($id);
$taskable = $task->taskable;