1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 16:53:17 +00:00

Update PublicApiController

This commit is contained in:
Daniel Supernault 2019-11-22 22:53:51 -07:00
parent 9fe113c3eb
commit 744435cdf5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -264,7 +264,7 @@ class PublicApiController extends Controller
} else {
$res = PublicTimelineService::get(0,4);
}
return response($res);
return $res;
}
if($min || $max) {
@ -331,7 +331,6 @@ class PublicApiController extends Controller
$fractal = new Fractal\Resource\Collection($timeline, new StatusTransformer());
$res = $this->fractal->createData($fractal)->toArray();
// $res = $timeline;
return response()->json($res);
}