fixed update job

This commit is contained in:
Denis Duliçi 2022-02-14 20:52:26 +03:00
parent 0a1ccab5a9
commit 951ca29215

View File

@ -62,7 +62,7 @@ class FinishUpdate extends Job
*/ */
public function authorize(): void public function authorize(): void
{ {
if (! $this->moduleExists($this->alias)) { if (($this->alias != 'core') && ! $this->moduleExists($this->alias)) {
throw new \Exception("Module [{$this->alias}] not found."); throw new \Exception("Module [{$this->alias}] not found.");
} }
} }