fix: remove needless tui event publish on session delete
This commit is contained in:
parent
91d1b65920
commit
c7a7fced41
1 changed files with 0 additions and 3 deletions
|
|
@ -779,9 +779,6 @@ export namespace Server {
|
||||||
async (c) => {
|
async (c) => {
|
||||||
const sessionID = c.req.valid("param").sessionID
|
const sessionID = c.req.valid("param").sessionID
|
||||||
await Session.remove(sessionID)
|
await Session.remove(sessionID)
|
||||||
await Bus.publish(TuiEvent.CommandExecute, {
|
|
||||||
command: "session.list",
|
|
||||||
})
|
|
||||||
return c.json(true)
|
return c.json(true)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue