From 0ef39596f2b159f4ac4efdf0ec28b80f4e2ad246 Mon Sep 17 00:00:00 2001 From: Gregory Brzezinski Date: Fri, 13 Jan 2023 17:29:04 +0300 Subject: [PATCH] add RunSession() in service --- src/app/services/launcher.service.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/services/launcher.service.ts b/src/app/services/launcher.service.ts index 9a09752..186131f 100644 --- a/src/app/services/launcher.service.ts +++ b/src/app/services/launcher.service.ts @@ -1,6 +1,7 @@ import { Injectable } from '@angular/core'; import { Game } from '../interfaces/game.interface'; -import { GoRunGame } from './go'; +import { Session } from '../interfaces/session.interface'; +import { GoRunGame, GoRunSession } from './go'; @Injectable({ providedIn: 'root' }) @@ -20,4 +21,7 @@ export class LauncherService { // console.log(game.title) // console.log(game.gameId) } + public RunSession(session: Session){ + GoRunSession(session.skirdaSessionId) + } }