🚨 fix: resolve all linting errors
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 37s
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 37s
This commit is contained in:
@ -26,5 +26,5 @@ interface Preference {
|
|||||||
adultAlert: string;
|
adultAlert: string;
|
||||||
videoQuality: string;
|
videoQuality: string;
|
||||||
serviceDefaultId: null;
|
serviceDefaultId: null;
|
||||||
hideContries: any[];
|
hideContries: string[];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import { jwtDecode } from "../../../../helpers/http/jwt/decode";
|
|||||||
import { redis } from "../../../../utils/databases/redis/connection";
|
import { redis } from "../../../../utils/databases/redis/connection";
|
||||||
import { deleteUserSessionRepository } from "../../../userSession/repositories/deleteUserSession.repository";
|
import { deleteUserSessionRepository } from "../../../userSession/repositories/deleteUserSession.repository";
|
||||||
|
|
||||||
export const logoutService = async (jwtToken?: any) => {
|
export const logoutService = async (jwtToken?: string) => {
|
||||||
try {
|
try {
|
||||||
if (!jwtToken) throw new AppError(403, "No auth token provided");
|
if (!jwtToken) throw new AppError(403, "No auth token provided");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user