Skip to content

Commit ac5709f

Browse files
committed
PhP is hard in the morning...
1 parent 858e346 commit ac5709f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Http/Controllers/SettingsController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ public function checkForCpUpdate(): JsonResponse
8383
flash('A new version of the Control Panel is available.', $target, 'info');
8484
}
8585

86-
return response()->json(compact($target));
86+
return response()->json([
87+
'target' => $target
88+
]);
8789
}
8890
}

0 commit comments

Comments
 (0)