From 40ec724e3bd4843cd528c254007c17fff7a5f2e7 Mon Sep 17 00:00:00 2001 From: SivanA-Kaltura <88330203+SivanA-Kaltura@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:13:19 +0300 Subject: [PATCH] lint fixes --- src/common/utils/kaltura-params.ts | 1 - src/common/utils/session-id-cache.ts | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/common/utils/kaltura-params.ts b/src/common/utils/kaltura-params.ts index 9e02f041a..3fb848878 100644 --- a/src/common/utils/kaltura-params.ts +++ b/src/common/utils/kaltura-params.ts @@ -3,7 +3,6 @@ import { getServerUIConf } from './setup-helpers'; import { KalturaPlayer } from '../../kaltura-player'; import { PartialKPOptionsObject } from '../../types'; import { SessionIdGenerator } from './session-id-generator'; -import { SessionIdCache } from './session-id-cache'; const PLAY_MANIFEST = 'playmanifest/'; const PLAY_SESSION_ID = 'playSessionId='; diff --git a/src/common/utils/session-id-cache.ts b/src/common/utils/session-id-cache.ts index 78cb03a8f..25217db6d 100644 --- a/src/common/utils/session-id-cache.ts +++ b/src/common/utils/session-id-cache.ts @@ -2,16 +2,10 @@ class SessionIdCache { private cache = new Map(); public set(key: string, value: string) { - // debugger; - - console.log('>>> SessionIdCache.set', key, value); - this.cache.set(key, value); } - public get(key: string) { - console.log('>>> SessionIdCache.get', key, this.cache.get(key)); - + public get(key: string): string { return this.cache.get(key); }