diff --git a/services/apps/projects/src/member/member.controller.ts b/services/apps/projects/src/member/member.controller.ts index aa3e5df32..689a31e0c 100644 --- a/services/apps/projects/src/member/member.controller.ts +++ b/services/apps/projects/src/member/member.controller.ts @@ -26,7 +26,7 @@ const removeOwnerResponse = 'Owner cannot remove themselves as member.'; @ApiTags('Members') export class MemberController implements OnModuleInit { constructor( - @Optional() @Inject() private readonly logger = new Logger(MemberService.name), + @Optional() @Inject(Logger) private readonly logger = new Logger(MemberService.name), private readonly memberService: MemberService, ) { } diff --git a/services/webpack.config.js b/services/webpack.config.js index 43859f635..cda3faa7d 100644 --- a/services/webpack.config.js +++ b/services/webpack.config.js @@ -1,6 +1,6 @@ module.exports = function (options) { return { ...options, - devtool: options.mode === 'production' ? 'nosources-source-map' : 'eval-source-map', + devtool: options.mode === 'production' ? 'nosources-source-map' : 'source-map', } };