From dc96e0865246491efecc23e5fa2a1e1329e4d553 Mon Sep 17 00:00:00 2001 From: hyerinhwang-sailin Date: Wed, 7 Aug 2024 01:14:14 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[#164]=20fix(TicketController):=20=EC=98=88?= =?UTF-8?q?=EB=A7=A4=EC=9E=90=20=EC=9E=85=EA=B8=88=EC=97=AC=EB=B6=80=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20api=20=EA=B2=BD=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/beat/domain/booking/api/TicketController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/beat/domain/booking/api/TicketController.java b/src/main/java/com/beat/domain/booking/api/TicketController.java index 118d122c..1e03e66e 100644 --- a/src/main/java/com/beat/domain/booking/api/TicketController.java +++ b/src/main/java/com/beat/domain/booking/api/TicketController.java @@ -32,10 +32,9 @@ public ResponseEntity> getTickets( } @Operation(summary = "예매자 입금여부 수정 및 웹발신 API", description = "메이커가 자신의 공연에 대한 예매자의 입금여부 정보를 수정한 뒤 예매확정 웹발신을 보내는 PUT API입니다.") - @PutMapping("/{performanceId}") // 이 부분 body로 performanceId를 넘기기에 수정 필요!! + @PutMapping public ResponseEntity> updateTickets( @CurrentMember Long memberId, - @PathVariable Long performanceId, @RequestBody TicketUpdateRequest request) { ticketService.updateTickets(memberId, request); return ResponseEntity.ok(SuccessResponse.of(BookingSuccessCode.TICKET_UPDATE_SUCCESS, null)); From 29366fcc9b660a242c760bea1ce743d67a63ec79 Mon Sep 17 00:00:00 2001 From: hyerinhwang-sailin Date: Wed, 7 Aug 2024 01:15:08 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[#164]=20chore(application-dev):=20dev=20db?= =?UTF-8?q?=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index c2309f23..a5dc6aba 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -19,7 +19,7 @@ spring: jpa: hibernate: - ddl-auto: update + ddl-auto: create show-sql: true properties: hibernate: