fix: set status='active' on command_history insert so history displays

This commit is contained in:
2026-06-14 09:07:46 -04:00
parent 5c802f9c1e
commit 7233c224ce

View File

@@ -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'),
]); ]);
} }