From 99f24ab0c76d2d2be58633e837de9948344603ea Mon Sep 17 00:00:00 2001 From: Ondřej Hruška Date: Sat, 15 Jul 2017 15:42:24 +0200 Subject: Raise search results count to 10 for test reference: https://mastodon.xyz/users/lx/updates/278054 --- app/controllers/api/v1/search_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api/v1') 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! -- cgit