aboutsummaryrefslogtreecommitdiffstats
path: root/modules/convert/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/convert/pull.go')
-rw-r--r--modules/convert/pull.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/convert/pull.go b/modules/convert/pull.go
index 6ff88c4d8a..2fa22efcb3 100644
--- a/modules/convert/pull.go
+++ b/modules/convert/pull.go
@@ -53,6 +53,7 @@ func ToAPIPullRequest(pr *models.PullRequest) *api.PullRequest {
Assignee: apiIssue.Assignee,
Assignees: apiIssue.Assignees,
State: apiIssue.State,
+ IsLocked: apiIssue.IsLocked,
Comments: apiIssue.Comments,
HTMLURL: pr.Issue.HTMLURL(),
DiffURL: pr.Issue.DiffURL(),