Skip to content

Commit

Permalink
refactor(service): users/auth: remove unnecessary passport initialize…
Browse files Browse the repository at this point in the history
… call
  • Loading branch information
restjohn committed Dec 1, 2024
1 parent 6740997 commit 9eb6d42
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion service/src/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 9eb6d42

Please sign in to comment.