fix: remove needless tui event publish on session delete

This commit is contained in:
Aiden Cline 2025-12-17 11:06:34 -06:00
parent f033e0317e
commit 16e6941495

View file

@ -779,9 +779,6 @@ export namespace Server {
async (c) => {
const sessionID = c.req.valid("param").sessionID
await Session.remove(sessionID)
await Bus.publish(TuiEvent.CommandExecute, {
command: "session.list",
})
return c.json(true)
},
)