From 63fcd8587b51d28bd93d37aa38353bab3d2dec56 Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Sun, 15 Feb 2026 23:08:07 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20fix:=20resolve=20all=20linting?= =?UTF-8?q?=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/helpers/http/jwt/decode/types.ts | 2 +- src/modules/auth/services/http/logout.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/http/jwt/decode/types.ts b/src/helpers/http/jwt/decode/types.ts index 1b2950b..eedafbb 100644 --- a/src/helpers/http/jwt/decode/types.ts +++ b/src/helpers/http/jwt/decode/types.ts @@ -26,5 +26,5 @@ interface Preference { adultAlert: string; videoQuality: string; serviceDefaultId: null; - hideContries: any[]; + hideContries: string[]; } diff --git a/src/modules/auth/services/http/logout.service.ts b/src/modules/auth/services/http/logout.service.ts index 40ade6a..67ae939 100644 --- a/src/modules/auth/services/http/logout.service.ts +++ b/src/modules/auth/services/http/logout.service.ts @@ -4,7 +4,7 @@ import { jwtDecode } from "../../../../helpers/http/jwt/decode"; import { redis } from "../../../../utils/databases/redis/connection"; import { deleteUserSessionRepository } from "../../../userSession/repositories/deleteUserSession.repository"; -export const logoutService = async (jwtToken?: any) => { +export const logoutService = async (jwtToken?: string) => { try { if (!jwtToken) throw new AppError(403, "No auth token provided");