From b084c334a34ca105e6b7c0ee6f548cb57f026cbc Mon Sep 17 00:00:00 2001 From: youngreal Date: Sat, 28 Dec 2024 13:08:34 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20API=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/dnd/dndtravel/map/controller/MapController.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/dnd/dndtravel/map/controller/MapController.java b/src/main/java/com/dnd/dndtravel/map/controller/MapController.java index 7b6565e..971e35b 100644 --- a/src/main/java/com/dnd/dndtravel/map/controller/MapController.java +++ b/src/main/java/com/dnd/dndtravel/map/controller/MapController.java @@ -74,4 +74,11 @@ public void deleteRecord( ) { mapService.deleteRecord(authenticationMember.id(), recordId); } + + @DeleteMapping("/maps/history2/{recordId}") + public void deleteRecord( + @PathVariable long recordId + ) { + mapService.deleteRecord(2, recordId); + } }