diff --git a/commands/pull_request.go b/commands/pull_request.go index 659939facba7d8446da78996057676837b858c1a..84199a2a05e4fa309796b6583edfa9de9847e431 100644 --- a/commands/pull_request.go +++ b/commands/pull_request.go @@ -72,7 +72,7 @@ func pullRequest(cmd *Command, args []string) { log.Fatal("Aborting due to empty pull request title") } - params := github.PullRequestParams{title, body, flagPullRequestBase, flagPullRequestHead, flagPullRequestIssue} + params := github.PullRequestParams{title, body, repo.Base, repo.Head, flagPullRequestIssue} pullRequestResponse, err := gh.CreatePullRequest(params) utils.Check(err)