Update src/Core/Worker/Repository/Process.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2021-11-07 13:29:38 +01:00 committed by GitHub
parent fb908aca6d
commit 882925b824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ class Process extends BaseRepository
{
parent::__construct($database, $logger, $factory);
$this->currentHost = $factory->determineHost($server[self::NODE_ENV] ?? '');
$this->currentHost = $factory->determineHost($server[self::NODE_ENV] ?? null);
}
/**