This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
abunchtell
/
mastodon
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Activity
Преглед изворни кода
Fix
#3462
- Require authentication for search API (
#4155
)
This makes it consistent with /api/v1/accounts/search and previous behaviour has been an oversight.
master
Eugen Rochko
пре 6 година
committed by
GitHub
родитељ
e19eefe219
комит
f93de3a516
1 измењених фајлова
са
3 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
app/controllers/api/v1/search_controller.rb
+ 3
- 0
app/controllers/api/v1/search_controller.rb
Прегледај датотеку
@@ -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
Write
Preview
Loading…
Откажи
Сачувај