aboutsummaryrefslogtreecommitdiff
path: root/resources/views/components
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-07-03 15:29:54 +0100
committerFrankie B <git@diskfloppy.me>2023-07-03 15:29:54 +0100
commit24e7f56e25f201e0c36eca51fef7d90e7dd4b26c (patch)
treebec7e05bdca04752e142206f00dc04cd558dd326 /resources/views/components
parent06ebb6cb81a6663140135d9ea256bf26bd9e2952 (diff)
Update to work with API again
Diffstat (limited to 'resources/views/components')
-rw-r--r--resources/views/components/weather.blade.php2
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>