diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/issues/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/pull.go b/models/issues/pull.go index 23b938f95a..2acc2b4226 100644 --- a/models/issues/pull.go +++ b/models/issues/pull.go @@ -920,7 +920,7 @@ func PullRequestCodeOwnersReview(ctx context.Context, pull *Issue, pr *PullReque var data string for _, file := range files { if blob, err := commit.GetBlobByPath(file); err == nil { - data, err = blob.GetBlobContent() + data, err = blob.GetBlobContent(setting.UI.MaxDisplayFileSize) if err == nil { break } |