mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 18:49:11 +03:00
Merge pull request #5170 from gitbutlerapp/update-github-pull-request-source-branch
fix: Get the right PR source branch
This commit is contained in:
commit
b1ecafcd8c
@ -11,7 +11,7 @@ export function parseGitHubDetailedPullRequest(
|
|||||||
number: data.number,
|
number: data.number,
|
||||||
title: data.title,
|
title: data.title,
|
||||||
body: data.body ?? undefined,
|
body: data.body ?? undefined,
|
||||||
sourceBranch: data.base?.ref,
|
sourceBranch: data.head?.ref,
|
||||||
draft: data.draft,
|
draft: data.draft,
|
||||||
htmlUrl: data.html_url,
|
htmlUrl: data.html_url,
|
||||||
createdAt: new Date(data.created_at),
|
createdAt: new Date(data.created_at),
|
||||||
|
Loading…
Reference in New Issue
Block a user