diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c45d75d..e15c782 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,8 +3,6 @@ name: Java CI with Gradle on: push: branches: [ "dev" ] - pull_request: - branches: [ "dev" ] jobs: build: diff --git a/src/main/java/sideproject/puddy/controller/ChatController.java b/src/main/java/sideproject/puddy/controller/ChatController.java index 4b9bf65..901e672 100644 --- a/src/main/java/sideproject/puddy/controller/ChatController.java +++ b/src/main/java/sideproject/puddy/controller/ChatController.java @@ -25,6 +25,7 @@ public GetChatListResponse getChatList(){ public ResponseEntity enterChat(@PathVariable Long chatId){ return chatAndMessageService.enterChat(chatId); } + @DeleteMapping("/chat/{chatId}") public ResponseEntity deleteChat(@PathVariable Long chatId){ return chatService.deleteChat(chatId);