Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SivanA-Kaltura committed Jun 5, 2024
1 parent 8293d5b commit 40ec724
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion src/common/utils/kaltura-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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=';
Expand Down
8 changes: 1 addition & 7 deletions src/common/utils/session-id-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@ class SessionIdCache {
private cache = new Map();

public set(key: string, value: string) {

Check warning on line 4 in src/common/utils/session-id-cache.ts

View workflow job for this annotation

GitHub Actions / lint / running-tests (ubuntu-latest)

Missing return type on function
// 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);
}

Expand Down

0 comments on commit 40ec724

Please sign in to comment.