Skip to content

Commit

Permalink
Make sure PR url of gitlabs are there in fetch prs named
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Jun 28, 2022
1 parent 265b550 commit 27ea82d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Providers/Gitlab.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public function getPrsNamed(Slug $slug) : array
$prs_named[$pr['source_branch']] = [
'title' => $pr['title'],
'body' => !empty($pr['description']) ? $pr['description'] : '',
'html_url' => !empty($pr['web_url']) ? $pr['web_url'] : '',
'number' => $pr["iid"],
'base' => [
'sha' => !empty($commits[1]["id"]) ? $commits[1]["id"] : $pr['sha'],
Expand Down

0 comments on commit 27ea82d

Please sign in to comment.