From 9eb6d42a41ca3353f7b7cf1ee7ba87cfa182e29b Mon Sep 17 00:00:00 2001 From: "Robert St. John" Date: Sun, 1 Dec 2024 07:24:00 -0700 Subject: [PATCH] refactor(service): users/auth: remove unnecessary passport initialize call --- service/src/express.js | 1 - 1 file changed, 1 deletion(-) diff --git a/service/src/express.js b/service/src/express.js index b5cd6a254..2665b8d47 100644 --- a/service/src/express.js +++ b/service/src/express.js @@ -40,7 +40,6 @@ app.use( express.json(jsonOptions), express.urlencoded( { ...jsonOptions, extended: true })); -app.use(passport.initialize()); app.get('/api/docs/openapi.yaml', async function(req, res) { const docPath = path.resolve(__dirname, 'docs', 'openapi.yaml'); fs.readFile(docPath, (err, contents) => {