Skip to content

Commit

Permalink
fix: logger import
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin committed Oct 7, 2024
1 parent 229c18a commit 0a9e9f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { env } from 'node:process';
import logger from 'imapflow/lib/logger.js';
import { logger } from './infrastructure/Logger.js';
import 'dotenv/config';

function isFeatureEnabled(environmentVariable) {
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { config } from './config.js';
import { createServer } from './server.js';
import { passController, reservationController } from './src/application/index.js';
import { authService } from './src/infrastructure/AuthService.js';
import { logger } from './src/infrastructure/logger.js';
import { logger } from './src/infrastructure/Logger.js';

const parisTimezone = 'Europe/Paris';

Expand Down

0 comments on commit 0a9e9f1

Please sign in to comment.