fix: status code for current_screen endpoint

This commit is contained in:
Benjamin Nussbaum 2025-06-25 10:10:10 +02:00 committed by GitHub
parent 0c5a69e8c1
commit 02cc91a21b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -324,7 +324,7 @@ Route::get('/current_screen', function (Request $request) {
} }
$response = [ $response = [
'status' => 0, 'status' => 200,
'image_url' => url('storage/'.$image_path), 'image_url' => url('storage/'.$image_path),
'filename' => $filename, 'filename' => $filename,
'refresh_rate' => $refreshTimeOverride ?? $device->default_refresh_interval, 'refresh_rate' => $refreshTimeOverride ?? $device->default_refresh_interval,