Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Jobs/UpdateSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function handle(): void
}

// Notify users
$connection->notificationSuccess(["fromVersion" => $healthResult->cms_version]);
$connection->notificationSuccess(["fromVersion" => $healthResult->cms_version, "toVersion" => $this->targetVersion]);

// Trigger site health check to write the update version back to the db
CheckSiteHealth::dispatch($this->site);
Expand Down Expand Up @@ -213,7 +213,7 @@ public function failed(\Exception $exception): void
$connection = $this->site->connection;

// Notify users
$connection->notificationFailed(["fromVersion" => $this->site->cms_version]);
$connection->notificationFailed(["fromVersion" => $this->site->cms_version, "toVersion" => $this->targetVersion]);

// We log any issues during the update to the DB
$this->site->updates()->create([
Expand Down