diff options
Diffstat (limited to 'modules/convert/utils.go')
-rw-r--r-- | modules/convert/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/utils.go b/modules/convert/utils.go index 66fb21be67..ddb8a8820d 100644 --- a/modules/convert/utils.go +++ b/modules/convert/utils.go @@ -11,7 +11,7 @@ import ( // ToCorrectPageSize makes sure page size is in allowed range. func ToCorrectPageSize(size int) int { if size <= 0 { - size = 10 + size = setting.API.DefaultPagingNum } else if size > setting.API.MaxResponseItems { size = setting.API.MaxResponseItems } |