This makes it consistent with /api/v1/accounts/search and previous behaviour has been an oversight.lolsob-rspec
parent
49026e27e8
commit
9fff81f676
|
@ -3,6 +3,9 @@
|
|||
class Api::V1::SearchController < Api::BaseController
|
||||
RESULTS_LIMIT = 5
|
||||
|
||||
before_action -> { doorkeeper_authorize! :read }
|
||||
before_action :require_user!
|
||||
|
||||
respond_to :json
|
||||
|
||||
def index
|
||||
|
|
Loading…
Reference in New Issue