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

-- cgit v1.2.3-54-g00ecf