From 60c6b46c563fa8e8de606708c1c75b358d4aa873 Mon Sep 17 00:00:00 2001 From: Win Date: Thu, 10 Oct 2024 10:06:48 +0700 Subject: [PATCH] MOL-487/MOL-488: renaming --- .../middleware/{oauth.middleware.ts => oauth2.middleware.ts} | 0 processor/src/routes/processor.route.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename processor/src/middleware/{oauth.middleware.ts => oauth2.middleware.ts} (100%) diff --git a/processor/src/middleware/oauth.middleware.ts b/processor/src/middleware/oauth2.middleware.ts similarity index 100% rename from processor/src/middleware/oauth.middleware.ts rename to processor/src/middleware/oauth2.middleware.ts diff --git a/processor/src/routes/processor.route.ts b/processor/src/routes/processor.route.ts index 912e32a..720c714 100644 --- a/processor/src/routes/processor.route.ts +++ b/processor/src/routes/processor.route.ts @@ -2,7 +2,7 @@ import { Router } from 'express'; import { post } from '../controllers/processor.controller'; import { install, healthCheck, uninstall, mollieStatus } from '../controllers/connector.controller'; import { readConfiguration } from '../utils/config.utils'; -import { oauthMiddleware } from '../middleware/oauth.middleware'; +import { oauthMiddleware } from '../middleware/oauth2.middleware'; const serviceRouter = Router(); const AUTH_MODE = readConfiguration().commerceTools.authMode === '1';