[core] Do not check current session status

This commit is contained in:
devlikepro committed 2024-10-16 13:53:04 +07:00
1 parent 57ac57824f
commit de680c93f6
1 file changed
+1 -4
+1 -4
View File
@@ -153,10 +153,7 @@ class SessionsController {
if (!exists) {
throw new NotFoundException('Session not found');
}
const isRunning = this.manager.isRunning(name);
if (!isRunning) {
await this.manager.start(name);
}
await this.manager.start(name);
});
return await this.manager.getSessionInfo(name);
}