Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE/#351] 파일 최대 용량 설정 #353

Merged
merged 2 commits into from
Dec 6, 2023
Merged

Conversation

namewhat99
Copy link
Collaborator

이슈

체크리스트

  • 파일 최대 용량 20MB 설정
  • 채팅 주석 처리 삭제

@namewhat99 namewhat99 added review code-review BE BE 관련 post-create 게시글 등록 labels Dec 6, 2023
@namewhat99 namewhat99 requested a review from koomin1227 December 6, 2023 12:41
@namewhat99 namewhat99 self-assigned this Dec 6, 2023
Copy link
Member

@koomin1227 koomin1227 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

파일 설정 잘 하셨네요

Comment on lines +28 to +34
const { authorization } = args[0].headers;
const userId = this.chatService.validateUser(authorization);
if (userId === null) {
client.close(1008, '토큰이 유효하지 않습니다.');
}
client.userId = userId;
this.logger.debug(`[${userId}] on connect`, 'ChatsGateway');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다

@koomin1227 koomin1227 merged commit 46b167c into BE Dec 6, 2023
1 check passed
@koomin1227 koomin1227 deleted the BE-fileSizeLimit-#351 branch December 6, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE BE 관련 post-create 게시글 등록 review code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants