From dd2c1d38afd2bc97153c7cd327f4b827d3736c4e Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Tue, 1 Mar 2022 20:43:42 +0000 Subject: [PATCH] fix lint. --- backend/backend/middlewares/authorization.ts | 2 +- probe-api/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/backend/middlewares/authorization.ts b/backend/backend/middlewares/authorization.ts index d834e3a468..23b2129659 100755 --- a/backend/backend/middlewares/authorization.ts +++ b/backend/backend/middlewares/authorization.ts @@ -13,7 +13,7 @@ export default { if (projectId) { if (!apiMiddleware.isValidProjectId(projectId)) { - return SendErrorResponse(req, res, { + return sendErrorResponse(req, res, { message: 'Project Id is not valid', code: 400, }); diff --git a/probe-api/index.ts b/probe-api/index.ts index ce713d3135..7520673916 100644 --- a/probe-api/index.ts +++ b/probe-api/index.ts @@ -1,6 +1,6 @@ import 'common-server/utils/env'; import 'common-server/utils/process'; -import { Request, Response } from 'common-server/utils/express'; +import Express, { Request, Response } from 'common-server/utils/express'; const app = Express.launchApplication(); app.get(['/probe-api/status', '/status'], function(