diff --git a/src/Commands/DiffCommand.php b/src/Commands/DiffCommand.php index d5b1528..d812d5b 100644 --- a/src/Commands/DiffCommand.php +++ b/src/Commands/DiffCommand.php @@ -234,7 +234,7 @@ public function getDiffs(int $projectId, $page = 0) 'state' => Diff::getStateName($diff['state']), 'jobs' => $diff['status']['jobs'], 'estimate' => ($diff['status']['jobs'] > 0) ? $diff['status']['estimate'] : 'Finished', - 'sharedUrl' => $diff['sharedUrl'], + 'sharedUrl' => $diff['sharedUrl'] ?? NULL, ]; } }