mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 15:44:45 +02:00
Return basic response
This commit is contained in:
parent
7077693da2
commit
939b7354e4
@ -31,7 +31,7 @@ class DaemonServerRepository extends DaemonRepository
|
||||
return ['state' => ContainerStatus::Missing->value];
|
||||
}
|
||||
|
||||
return $response->json();
|
||||
return $response?->json() ?? ['state' => ContainerStatus::Missing->value];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user