From 2e597338f602c9232593ba561ae3381c1889a535 Mon Sep 17 00:00:00 2001 From: JongBin Noh <95959567+begong313@users.noreply.github.com> Date: Mon, 20 May 2024 17:38:23 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20mapPosition=20=EB=B2=84=EA=B7=B8?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../capstone/server/controller/MissingPeopleController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/com/capstone/server/controller/MissingPeopleController.java b/server/src/main/java/com/capstone/server/controller/MissingPeopleController.java index 1e8da9c810..85c81ddac2 100644 --- a/server/src/main/java/com/capstone/server/controller/MissingPeopleController.java +++ b/server/src/main/java/com/capstone/server/controller/MissingPeopleController.java @@ -283,9 +283,9 @@ public ResponseEntity startSearching( public ResponseEntity getMapPosition( @PathVariable Long id, @RequestParam(required = false, value = "step") String s, - @RequestParam(required = false, value = "search-id") long searchHistoryId + @RequestParam(required = false, value = "search-id") Long searchHistoryId ) { - if (searchHistoryId != 0) { + if (searchHistoryId != null) { return ResponseEntity.ok().body(new SuccessResponse(searchResultService.getSearchResultsBySearchId(searchHistoryId))); } Step step = Step.fromValue(s);