diff --git a/api/src/services/auth.service.ts b/api/src/services/auth.service.ts index f0fc83ad1..023998071 100644 --- a/api/src/services/auth.service.ts +++ b/api/src/services/auth.service.ts @@ -21,7 +21,6 @@ import logger from "../utils/logger.js"; * @returns A promise that resolves to a LoginServiceType object. * @throws ExceptionFunction if an error occurs during the login process. */ - const login = async (req: Request): Promise => { const srcFun = "Login"; /* diff --git a/api/src/services/contentful.service.ts b/api/src/services/contentful.service.ts index ab87c8a64..f6b20ace3 100644 --- a/api/src/services/contentful.service.ts +++ b/api/src/services/contentful.service.ts @@ -8,7 +8,6 @@ import jsonpath from "jsonpath"; import pLimit from 'p-limit'; import { JSDOM } from "jsdom"; import { jsonToHtml, jsonToMarkdown, htmlToJson } from '@contentstack/json-rte-serializer'; - import { CHUNK_SIZE, LOCALE_MAPPER, MIGRATION_DATA_CONFIG } from "../constants/index.js"; import { Locale } from "../models/types.js"; import jsonRTE from "./contentful/jsonRTE.js"; diff --git a/api/src/services/sitecore.service.ts b/api/src/services/sitecore.service.ts index 90be5c598..2ba20de07 100644 --- a/api/src/services/sitecore.service.ts +++ b/api/src/services/sitecore.service.ts @@ -11,7 +11,6 @@ import customLogger from '../utils/custom-logger.utils.js'; const append = "a"; - const baseDirName = MIGRATION_DATA_CONFIG.DATA const { ENTRIES_DIR_NAME, diff --git a/api/src/services/wordpress.service.ts b/api/src/services/wordpress.service.ts index 08fc7ac27..df5e08397 100644 --- a/api/src/services/wordpress.service.ts +++ b/api/src/services/wordpress.service.ts @@ -15,8 +15,6 @@ const virtualConsole = new jsdom.VirtualConsole(); // Get the current file's path const __filename = fileURLToPath(import.meta.url); - - // Get the current directory const __dirname = path.dirname(__filename);