From 2908cbd1f53056b05ad4032399b66018f2e33086 Mon Sep 17 00:00:00 2001 From: nocci Date: Wed, 31 Dec 2025 12:55:52 +0000 Subject: [PATCH] chore: fix lint in new epic claimer --- epic-claimer-new.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/epic-claimer-new.js b/epic-claimer-new.js index 946931b..2f40ba8 100644 --- a/epic-claimer-new.js +++ b/epic-claimer-new.js @@ -3,7 +3,6 @@ import { firefox } from 'playwright-firefox'; import { authenticator } from 'otplib'; import path from 'node:path'; import { existsSync, readFileSync, writeFileSync } from 'node:fs'; -import chalk from 'chalk'; import { resolve, jsonDb, datetime, stealth, filenamify, prompt, notify, html_game_list, handleSIGINT } from './src/util.js'; import { cfg } from './src/config.js'; @@ -70,7 +69,7 @@ const exchangeTokenForCookies = async accessToken => { return cookies; }; -const getValidAuth = async ({ email, password, otpKey, reuseCookies, cookiesPath }) => { +const getValidAuth = async ({ otpKey, reuseCookies, cookiesPath }) => { if (reuseCookies && existsSync(cookiesPath)) { const cookies = JSON.parse(readFileSync(cookiesPath, 'utf8')); const bearerCookie = cookies.find(c => c.name === BEARER_TOKEN_NAME);