1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-12 08:40:04 +00:00

feat(api): added session state endpoint

This commit is contained in:
Yury
2024-10-30 17:42:50 +03:00
parent f94ddc0352
commit 6b6546c7ad
5 changed files with 95 additions and 3 deletions

View File

@@ -67,6 +67,10 @@ export class SessionController {
return session
}
public getSessionById(id: string) {
return this.sessions.find((session) => session.id === id)
}
}
export class SASSessionController extends SessionController {