Skip to content

Commit

Permalink
merge: [BE] HTTP 메서드 수정
Browse files Browse the repository at this point in the history
fix: [BE] HTTP 메서드 수정
  • Loading branch information
Gseungmin authored Dec 13, 2023
2 parents 34d4b86 + bd24eee commit 4e488ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backEnd/center/src/connections/connections.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ export class ConnectionsController {
private readonly eventChatService: EventsChatService,
) {}

@Get('join/signalling')
@Post('join/signalling')
findSignalingServer(@Body() data: JoinRoomDto): ResponseDto {
const response: ResponseDto = this.eventService.findServer(data);
return response;
}

@Get('leave/signalling')
@Post('leave/signalling')
leaveSignaling(@Body() data: JoinRoomDto): ResponseDto {
const response: ResponseDto = this.eventService.leaveRoom(data);
return response;
}

@Get('join/chatting')
@Post('join/chatting')
findChattingServer(@Body() data: JoinRoomDto): ResponseDto {
const response: ResponseDto = this.eventChatService.findServer(data);
return response;
}

@Get('leave/chatting')
@Post('leave/chatting')
leaveChatting(@Body() data: JoinRoomDto): ResponseDto {
const response: ResponseDto = this.eventChatService.leaveRoom(data);
return response;
Expand Down

0 comments on commit 4e488ea

Please sign in to comment.