[CR] Hotfix stream deletion if slow download
Fixes issue where if someone's internet, or the server is so slow that the session expires, it would fail to delete the watch session
This commit is contained in:
parent
9ea6258fec
commit
8b5cafff3d
1 changed files with 1 additions and 0 deletions
|
|
@ -2132,6 +2132,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
|
||||
if (switchStream) {
|
||||
await this.refreshToken(true, true);
|
||||
await this.req.getData(`https://cr-play-service.prd.crunchyrollsvc.com/v1/token/${currentVersion ? currentVersion.guid : currentMediaId}/${switchStream.token}`, {...{method: 'DELETE'}, ...AuthHeaders});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue