mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(debridio-tv): correctly generate cache key
This commit is contained in:
@@ -208,6 +208,10 @@ export class DebridioTvPreset extends Preset {
|
||||
return undefined;
|
||||
}
|
||||
} catch {}
|
||||
return `${resource}-${type}-${id}-${extras}`;
|
||||
let cacheKey = `${this.METADATA.ID}-${resource}-${type}-${id}-${extras}`;
|
||||
if (resource === 'manifest') {
|
||||
cacheKey += `-${presetOptions.debridioApiKey}-${presetOptions.channels}`;
|
||||
}
|
||||
return cacheKey;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user