-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/user ban #125
base: develop
Are you sure you want to change the base?
Feature/user ban #125
Conversation
- ์ํ์ข ์์ฑ ํด๊ฒฐ ์ํด ์๋ํฌ์ธํธ ์์น ์์
- ๋๊ธ์ ๋ํ ์ ๊ณ ๊ฐ ๋จ์์์ ๊ฒฝ์ฐ ํด๋น ์ ๊ณ ์ฒ๋ฆฌ ํ์
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์๋ฆ๋ค์ด ์ฝ๋์ ๋๋ค
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ ๊ณ ๋นํด์ deletePost, deleteCommentํ ๋ ์ง๋ฌธ๊ฒ์ํ์ธ ๊ฒฝ์ฐ ์๋ฌ๋ฅผ ๋์ ธ์ ๊ธฐํ ๋์ค๋ฉด ๊ตฌ์ฒดํํ๋ฉด ๋ ๊ฑฐ ๊ฐ์ต๋๋ค
@ApiProperty({ description: '๊ฒ์๊ธ ID' }) | ||
@IsNotEmpty() | ||
@IsString() | ||
postId: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IsNumber()๋ ์ ์ด์ฃผ๋๊ฒ ๋ ์ข์๊ฑฐ๊ฐ์ต๋๋ค
@ApiProperty({ | ||
description: '๋๊ธ ID (๋๊ธ ์ ๊ณ ์ผ ๊ฒฝ์ฐ ์กด์ฌ, ๊ฒ์๊ธ ์ ๊ณ ์ผ ๊ฒฝ์ฐ null', | ||
}) | ||
@IsOptional() | ||
commentId?: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์๋ ๋ง์ฐฌ๊ฐ์ง๋ก~
return new CreateReportResponseDto(true); | ||
} | ||
|
||
async getReportList(): Promise<GetReportListResponseDto[]> { | ||
const reports = await this.reportRepository.getReportList(); | ||
console.log(reports); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
console.log(reports); |
์ง์๋ ๋ ๊ฑฐ ๊ฐ์์
- console.log ์ญ์
๐ Description
์ ๊ณ ์ ๋ํด ์๋ฝ/๊ฑฐ์ ๊ธฐ๋ฅ
์๋ฝ ์ ์ ์ ์ ์ง๋ฐ์ดํฐ ์์ฑ
์ปค๋ฎค๋ํฐ ๊ธ/๋๊ธ ์์ฑ ๋ฐ ์์ ์์ ์ ์ง๋ฐ์ดํฐ ์ฒดํฌ