Skip to content

Commit

Permalink
chore: channelInvitationId prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
cjho0316 committed Dec 15, 2023
1 parent 2717677 commit 2f365d0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/channels/channels.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,18 +312,16 @@ export class ChannelsController {
})
async acceptInvitation(
@GetUser() user: User,
@Body('invitationId', ParseIntPipe, PositiveIntPipe)
invitationId: number,
@Body('channelInvitationId', ParseIntPipe, PositiveIntPipe) invitationId: number,
) {
const createChannelUserParamDto: ChannelInvitationParamDto = {
invitedUserId: user.id,
invitedUserId: user.id,
invitationId: invitationId,
}

}
await this.channelsService.acceptInvitation(createChannelUserParamDto);
}

@Delete('/refuse/:channelinvitationId')
@Delete('/refuse/:channelInvitationId')
@ApiOperation({
summary: '초대 거절',
description: '초대 거절',
Expand Down

0 comments on commit 2f365d0

Please sign in to comment.