From 500163d3f8f0479f21429cf2b4e97f21ed57157b Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Thu, 8 Jan 2026 22:06:25 -0500 Subject: [PATCH] Fix execution details endpoint - remove reference to deleted activeExecutions --- server.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server.js b/server.js index 5322ee5..61e066a 100644 --- a/server.js +++ b/server.js @@ -983,15 +983,12 @@ app.get('/api/executions/:id', authenticateSSO, async (req, res) => { if (rows.length === 0) { return res.status(404).json({ error: 'Not found' }); } - + const execution = rows[0]; - const state = activeExecutions.get(req.params.id); - + res.json({ ...execution, - logs: JSON.parse(execution.logs || '[]'), - waiting_for_input: state?.waitingForInput || false, - prompt: state?.promptData || null + logs: JSON.parse(execution.logs || '[]') }); } catch (error) { res.status(500).json({ error: error.message });