Skip to content

Commit

Permalink
Use loggerInstance on fastify initialization (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorgomezv authored Nov 10, 2024
1 parent 687bacb commit 1dc7c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/infrastructure/web-server/web-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import userRouter from '../../interfaces/routers/user-router.js';

const { CORS_BASE_URL, PORT } = process.env;

const app = fastify({ logger });
const app = fastify({ loggerInstance: logger });
const BASE_URL = '/api/v1/auth';

const getAllowedOrigins = () => {
Expand Down

0 comments on commit 1dc7c4f

Please sign in to comment.