mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-05-12 04:50:33 +00:00
eslint
This commit is contained in:
parent
7583f0ef11
commit
9df2488683
1 changed files with 4 additions and 4 deletions
|
|
@ -269,7 +269,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
// To prevent any Cloudflare errors in the future
|
||||
if (authReq.res.headers.get('Set-Cookie')) {
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string;
|
||||
}
|
||||
this.token = await authReq.res.json();
|
||||
this.token.device_id = uuid;
|
||||
|
|
@ -301,7 +301,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
// To prevent any Cloudflare errors in the future
|
||||
if (authReq.res.headers.get('Set-Cookie')) {
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string;
|
||||
}
|
||||
this.token = await authReq.res.json();
|
||||
this.token.device_id = uuid;
|
||||
|
|
@ -365,7 +365,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
// To prevent any Cloudflare errors in the future
|
||||
if (authReq.res.headers.get('Set-Cookie')) {
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string;
|
||||
}
|
||||
this.token = await authReq.res.json();
|
||||
this.token.device_id = uuid;
|
||||
|
|
@ -411,7 +411,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
// To prevent any Cloudflare errors in the future
|
||||
if (authReq.res.headers.get('Set-Cookie')) {
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string
|
||||
api.crunchyDefHeader['Cookie'] = authReq.res.headers.get('Set-Cookie') as string;
|
||||
}
|
||||
this.token = await authReq.res.json();
|
||||
this.token.device_id = uuid;
|
||||
|
|
|
|||
Loading…
Reference in a new issue