forked from mirror/pixelfed
Update api, remove auth requirement for hashtag timeline
This commit is contained in:
parent
55c3eaf26d
commit
c8e43c6094
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue