Compare commits

...
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -111,3 +111,4 @@ function configureSwagger(app: INestApplication) {
); );
} }
bootstrap(); bootstrap();
+1
View File
@@ -478,6 +478,7 @@ export class AuthController {
@Get('me') @Get('me')
async getMe(@Req() req: Request, @Res() res: Response) { async getMe(@Req() req: Request, @Res() res: Response) {
this.logger.info('GET /auth/me ') this.logger.info('GET /auth/me ')
this.logger.info(req.headers);
// Check for API key header first // Check for API key header first
const apiKey = req.get('X-Api-key'); const apiKey = req.get('X-Api-key');