From afedf92526630336948111369be361a9ff927119 Mon Sep 17 00:00:00 2001 From: OxSaitama Date: Fri, 30 Jun 2023 09:57:30 +0200 Subject: [PATCH] fix reflect-metadata import --- src/entries/App.ts | 3 --- src/services/common/AuthService/AuthService.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/src/entries/App.ts b/src/entries/App.ts index 0b426b5d..f500c7f6 100644 --- a/src/entries/App.ts +++ b/src/entries/App.ts @@ -5,10 +5,8 @@ import ExpressServer from "@Common/system/ExpressServer"; import routes from "@App/index"; import cors from "cors"; import bodyParser from "body-parser"; -// import TezosLink from "@Common/databases/TezosLink"; import errorHandler from "@App/middlewares/ErrorHandler"; import { BackendVariables } from "@Common/config/variables/Variables"; -//import fileHandler from "@App/middlewares/FileHandler"; import multer from "multer"; @@ -22,7 +20,6 @@ const storage = multer.memoryStorage(); const rootUrl = variables.APP_ROOT_URL; const label = variables.APP_LABEL ?? "Unknown Service"; - // Container.get(TezosLink).connect(); Container.get(ExpressServer).init({ label, port: parseInt(port), diff --git a/src/services/common/AuthService/AuthService.ts b/src/services/common/AuthService/AuthService.ts index 2890f951..0a6088a7 100644 --- a/src/services/common/AuthService/AuthService.ts +++ b/src/services/common/AuthService/AuthService.ts @@ -1,4 +1,3 @@ -import "reflect-metadata"; import jwt, { VerifyCallback } from "jsonwebtoken"; import BaseService from "@Services/BaseService"; import { BackendVariables } from "@Common/config/variables/Variables";