diff options
-rw-r--r-- | resources/views/components/weather.blade.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 <h1>Local Weather <small>(Last Update: {{ $updated }})</small></h1> |