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';