From 0f265f43f27efb3cf69c141d2012e673d34603d0 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Mon, 3 Jul 2023 15:29:54 +0100 Subject: [PATCH] Update to work with API again --- resources/views/components/weather.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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

Local Weather (Last Update: {{ $updated }})