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

Feature/user ban #125

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Feature/user ban #125

wants to merge 9 commits into from

Conversation

KimSeongHyeonn
Copy link
Contributor

๐Ÿ“ Description

์‹ ๊ณ ์— ๋Œ€ํ•ด ์ˆ˜๋ฝ/๊ฑฐ์ ˆ๊ธฐ๋Šฅ
์ˆ˜๋ฝ ์‹œ ์œ ์ € ์ •์ง€๋ฐ์ดํ„ฐ ์ƒ์„ฑ
์ปค๋ฎค๋‹ˆํ‹ฐ ๊ธ€/๋Œ“๊ธ€ ์ž‘์„ฑ ๋ฐ ์ˆ˜์ •์—์„œ ์ •์ง€๋ฐ์ดํ„ฐ ์ฒดํฌ

Copy link
Contributor

@JeongYeonSeung JeongYeonSeung left a comment

Choose a reason for hiding this comment

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

์•„๋ฆ„๋‹ค์šด ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค

Copy link
Contributor

@Devheun Devheun left a comment

Choose a reason for hiding this comment

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

์‹ ๊ณ  ๋‹นํ•ด์„œ deletePost, deleteCommentํ•  ๋•Œ ์งˆ๋ฌธ๊ฒŒ์‹œํŒ์ธ ๊ฒฝ์šฐ ์—๋Ÿฌ๋ฅผ ๋˜์ ธ์„œ ๊ธฐํš ๋‚˜์˜ค๋ฉด ๊ตฌ์ฒดํ™”ํ•˜๋ฉด ๋  ๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค

Comment on lines 5 to 7
@ApiProperty({ description: '๊ฒŒ์‹œ๊ธ€ ID' })
@IsNotEmpty()
@IsString()
postId: number;
Copy link
Contributor

Choose a reason for hiding this comment

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

@IsNumber()๋„ ์ ์–ด์ฃผ๋Š”๊ฒŒ ๋” ์ข‹์„๊ฑฐ๊ฐ™์Šต๋‹ˆ๋‹ค

Comment on lines 9 to 13
@ApiProperty({
description: '๋Œ“๊ธ€ ID (๋Œ“๊ธ€ ์‹ ๊ณ ์ผ ๊ฒฝ์šฐ ์กด์žฌ, ๊ฒŒ์‹œ๊ธ€ ์‹ ๊ณ ์ผ ๊ฒฝ์šฐ null',
})
@IsOptional()
commentId?: number;
Copy link
Contributor

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);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
console.log(reports);

์ง€์›Œ๋„ ๋  ๊ฑฐ ๊ฐ™์•„์š”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants