mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: remove needless tui event publish on session delete
This commit is contained in:
parent
f033e0317e
commit
16e6941495
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue