mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
fix: status code for current_screen endpoint
This commit is contained in:
parent
0c5a69e8c1
commit
02cc91a21b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue