diff --git a/src/main/java/tech/crm/crmserver/common/utils/IpUtil.java b/src/main/java/tech/crm/crmserver/common/utils/IpUtil.java index 07adb2d..ae9b040 100644 --- a/src/main/java/tech/crm/crmserver/common/utils/IpUtil.java +++ b/src/main/java/tech/crm/crmserver/common/utils/IpUtil.java @@ -119,7 +119,7 @@ public static IpAddress sendPostRequest(String ip){ HttpEntity> requestEntity = new HttpEntity<>(null, headers); - ResponseEntity response = client.exchange(URL, method, requestEntity, IpAddress.class); + ResponseEntity response = client.exchange(url, method, requestEntity, IpAddress.class); if(response.getStatusCode() != HttpStatus.OK){ return null; }