diff --git a/resources/views/components/weather.blade.php b/resources/views/components/weather.blade.php index a5a041f..29f925d 100644 --- a/resources/views/components/weather.blade.php +++ b/resources/views/components/weather.blade.php @@ -11,7 +11,7 @@ function degreesToCompassDirection($degrees) { $data = json_decode(file_get_contents($api_root.'/weather')); $updated = gmdate('H:i Y-m-d', $data->updated); -$data = $data->data; +$data = $data->current; @endphp