api(remote): fix inproper reading of boolean for installation status
This commit is contained in:
parent
00da092e45
commit
352910f897
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class ServerInstallController extends Controller
|
||||||
{
|
{
|
||||||
$server = $this->repository->getByUuid($uuid);
|
$server = $this->repository->getByUuid($uuid);
|
||||||
|
|
||||||
$status = $request->input('successful') === '1' ? null : Server::STATUS_INSTALL_FAILED;
|
$status = $request->boolean('successful') ? null : Server::STATUS_INSTALL_FAILED;
|
||||||
if ($server->status === Server::STATUS_SUSPENDED) {
|
if ($server->status === Server::STATUS_SUSPENDED) {
|
||||||
$status = Server::STATUS_SUSPENDED;
|
$status = Server::STATUS_SUSPENDED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue