1
0
Fork 0
forked from mirror/pixelfed

Update api, remove auth requirement for hashtag timeline

This commit is contained in:
Daniel Supernault 2021-05-26 20:11:25 -06:00
parent 55c3eaf26d
commit c8e43c6094
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -1988,8 +1988,6 @@ class ApiV1Controller extends Controller
*/ */
public function timelineHashtag(Request $request, $hashtag) public function timelineHashtag(Request $request, $hashtag)
{ {
abort_if(!$request->user(), 403);
$this->validate($request,[ $this->validate($request,[
'page' => 'nullable|integer|max:40', 'page' => 'nullable|integer|max:40',
'min_id' => 'nullable|integer|min:0|max:' . PHP_INT_MAX, 'min_id' => 'nullable|integer|min:0|max:' . PHP_INT_MAX,