Skip to content

Commit

Permalink
[BE#233] fix login 에러
Browse files Browse the repository at this point in the history
  • Loading branch information
yeongbinim authored Dec 7, 2023
1 parent 1904db0 commit 50421a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions BE/src/common/interceptor/logging.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ export class LoggingInterceptor implements NestInterceptor {
const response = ctx.getResponse();
const { method, url, body } = request;
this.logger.debug(
`[📩 Req#${request.id.slice(0, 8)}] ${method} ${url} ${
request.user.nickname
}#${request.user.id}\n${JSON.stringify(body)}`,
`[📩 Req#${request.id.slice(0, 8)}] ${method} ${url} ${request.user
?.nickname}#${request.user?.id}\n${JSON.stringify(body)}`,
);
return next.handle().pipe(
tap((body) => {
Expand Down

0 comments on commit 50421a1

Please sign in to comment.