From 33cf257a7fb3e4b4846ee3d288c9546787d5b64b Mon Sep 17 00:00:00 2001 From: James Kronewitter Date: Wed, 8 Oct 2025 09:48:19 -0400 Subject: [PATCH] Fix prettier formatting for crunchy.ts --- crunchy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crunchy.ts b/crunchy.ts index a5372bd..f038e6d 100644 --- a/crunchy.ts +++ b/crunchy.ts @@ -425,7 +425,7 @@ export default class Crunchy implements ServiceClass { } this.token = await authReq.res.json(); this.token.device_id = uuid; - this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); + this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); yamlCfg.saveCRToken(this.token); await this.getProfile(); console.info('Your Country: %s', this.token.country); @@ -464,7 +464,7 @@ export default class Crunchy implements ServiceClass { } this.token = await authReq.res.json(); this.token.device_id = uuid; - this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); + this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); yamlCfg.saveCRToken(this.token); } @@ -535,7 +535,7 @@ export default class Crunchy implements ServiceClass { } this.token = await authReq.res.json(); this.token.device_id = uuid; - this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); + this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); yamlCfg.saveCRToken(this.token); await this.getProfile(false); await this.getCMStoken(true); @@ -586,7 +586,7 @@ export default class Crunchy implements ServiceClass { } this.token = await authReq.res.json(); this.token.device_id = uuid; - this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); + this.token.expires = new Date(Date.now() + this.token.expires_in * 1000); yamlCfg.saveCRToken(this.token); } if (this.token.refresh_token) {