diff options
author | Ondřej Hruška <ondra@ondrovo.com> | 2017-07-15 15:42:24 +0200 |
---|---|---|
committer | Ondřej Hruška <ondra@ondrovo.com> | 2017-07-15 15:42:24 +0200 |
commit | 99f24ab0c76d2d2be58633e837de9948344603ea (patch) | |
tree | d0a01d1d69b6ba229a191a516d2c3af539a790fa /app | |
parent | 3a526e2369c45e0e7e0eaea83d62c94587a82975 (diff) |
Raise search results count to 10 for test
reference: https://mastodon.xyz/users/lx/updates/278054
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/api/v1/search_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/search_controller.rb b/app/controllers/api/v1/search_controller.rb index bc5b8e5d4..e183a71d7 100644 --- a/app/controllers/api/v1/search_controller.rb +++ b/app/controllers/api/v1/search_controller.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class Api::V1::SearchController < Api::BaseController - RESULTS_LIMIT = 5 + RESULTS_LIMIT = 10 before_action -> { doorkeeper_authorize! :read } before_action :require_user! |