diff --git a/src/main/java/com/moneygement/lyf/jarvis/weather/service/WeatherReportService.java b/src/main/java/com/moneygement/lyf/jarvis/weather/service/WeatherReportService.java index a5dfc40..f2fbd50 100644 --- a/src/main/java/com/moneygement/lyf/jarvis/weather/service/WeatherReportService.java +++ b/src/main/java/com/moneygement/lyf/jarvis/weather/service/WeatherReportService.java @@ -17,7 +17,7 @@ public String getWeatherSummary(double latitude, double longitude) { return String.format( "In %s: %s, %.1f°C (feels like %.1f°C)", response.getName(), - response.getWeather().getFirst().getMain(), + response.getWeather().get(0).getMain(), response.getMain().getTemp(), response.getMain().getFeelsLike() );