From 9df2488683145b1b5ff6a1dbf0a0632c4e0272d6 Mon Sep 17 00:00:00 2001 From: stratumadev Date: Sun, 11 May 2025 19:12:57 +0200 Subject: [PATCH] eslint --- crunchy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crunchy.ts b/crunchy.ts index 6d8fa52..d673ebe 100644 --- a/crunchy.ts +++ b/crunchy.ts @@ -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;