-
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
post 관련 리소스 변수명 간소화 #136
post 관련 리소스 변수명 간소화 #136
Conversation
이슈 링크가 안타져오 |
수정했씁니다. |
@@ -60,12 +60,12 @@ export class FreePostCommentsController { | |||
@SetResponse({ type: ResponseType.Pagination, key: 'freePostComments' }) | |||
@Get() | |||
async findAllAndCount( | |||
@Param('freePostId', ParsePositiveIntPipe) freePostId: number, | |||
@Param('freePost', ParsePositiveIntPipe) freePost: 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.
이거 postId여야 할 것 같아요
putUpdate( | ||
@User() user: UserDto, | ||
@Param('freePostId', ParsePositiveIntPipe) freePostId: number, | ||
@Param('freePostCommentId', ParsePositiveIntPipe) freePostCommentId: number, | ||
@Param('freePost', ParsePositiveIntPipe) freePost: 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.
이거 postId여야 할 것 같아요
remove( | ||
@User() user: UserDto, | ||
@Param('freePostId') freePostId: number, | ||
@Param('freePostCommentId', ParsePositiveIntPipe) freePostCommentId: number, | ||
@Param('freePost') freePost: 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.
이거 postId여야 할 것 같아요
파이프가 빠졌어여
createReaction( | ||
@User() user: UserDto, | ||
@Param('freePostId', ParsePositiveIntPipe) freePostId: number, | ||
@Param('freePostCommentId', ParsePositiveIntPipe) freePostCommentId: number, | ||
@Param('freePost', ParsePositiveIntPipe) freePost: 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.
이거 postId여야 할 것 같아요
removeReaction( | ||
@User() user: UserDto, | ||
@Param('freePostId', ParsePositiveIntPipe) freePostId: number, | ||
@Param('freePostCommentId', ParsePositiveIntPipe) freePostCommentId: number, | ||
@Param('freePost', ParsePositiveIntPipe) freePost: 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.
이거 postId여야 할 것 같아요
@Param('freePostCommentId', ParsePositiveIntPipe) freePostCommentId: number, | ||
@Param('freePostReplyCommentId', ParsePositiveIntPipe) | ||
freePostReplyCommentId: number, | ||
@Param('postId') 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.
파이프가 빠졌어요
53a0aad
to
21576fe
Compare
21576fe
to
baa5bcd
Compare
@hobiJeong 꼼꼼한 확인 감사합니다. 수정했어요. |
JIRA
QYOG-73
Description
post 관련 리소스 변수명 간소화
To Reviewer
Reference Link
Related Issue Link
API