aboutsummaryrefslogtreecommitdiffstats
path: root/services/convert
diff options
context:
space:
mode:
Diffstat (limited to 'services/convert')
-rw-r--r--services/convert/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/convert/pull.go b/services/convert/pull.go
index e4e3097056..7eebe20426 100644
--- a/services/convert/pull.go
+++ b/services/convert/pull.go
@@ -68,7 +68,7 @@ func ToAPIPullRequest(ctx context.Context, pr *issues_model.PullRequest, doer *u
PatchURL: pr.Issue.PatchURL(),
HasMerged: pr.HasMerged,
MergeBase: pr.MergeBase,
- Mergeable: pr.Mergeable(),
+ Mergeable: pr.Mergeable(ctx),
Deadline: apiIssue.Deadline,
Created: pr.Issue.CreatedUnix.AsTimePtr(),
Updated: pr.Issue.UpdatedUnix.AsTimePtr(),