diff --git a/src/main/java/com/example/cosmos_serversb/resources/ShopsRest.java b/src/main/java/com/example/cosmos_serversb/resources/ShopsRest.java index 2249fa2..cf49863 100644 --- a/src/main/java/com/example/cosmos_serversb/resources/ShopsRest.java +++ b/src/main/java/com/example/cosmos_serversb/resources/ShopsRest.java @@ -24,7 +24,7 @@ )throws JsonProcessingException { //SessionManager.getInstance().getSession(); ObjectMapper mapper = new ObjectMapper(); - String json = mapper.writerWithView(ShopsView.getShopsView.class).writeValueAsString(Shops.getInstance().getShop(leftLatitude,leftLongitude,rightLatitude,rightLongitude)); + String json = mapper.writerWithView(ShopsView.getShopsView.class).writeValueAsString(Shops.getInstance().getShop(leftLongitude,leftLatitude,rightLongitude,rightLatitude)); //SessionManager.getInstance().closeSession(); LogUtils.info("位置情報を取得"); return json;