fix: set status='active' on command_history insert so history displays
This commit is contained in:
@@ -23,6 +23,7 @@ class CommandHistory
|
|||||||
'command' => $command,
|
'command' => $command,
|
||||||
'output' => mb_substr($output ?? '', 0, 65535),
|
'output' => mb_substr($output ?? '', 0, 65535),
|
||||||
'exit_status' => $exitStatus,
|
'exit_status' => $exitStatus,
|
||||||
|
'status' => 'active',
|
||||||
'executed_at' => date('Y-m-d H:i:s'),
|
'executed_at' => date('Y-m-d H:i:s'),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user