Update ApiController, fix nulls in hashtag endpoint

This commit is contained in:
Daniel Supernault 2021-06-28 21:01:45 -06:00
parent d48ebb829c
commit f1208de0ef
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -2029,6 +2029,7 @@ class ApiV1Controller extends Controller
->map(function ($i) { ->map(function ($i) {
return StatusService::get($i); return StatusService::get($i);
}) })
->filter()
->all(); ->all();
return response()->json($res, 200, [], JSON_PRETTY_PRINT); return response()->json($res, 200, [], JSON_PRETTY_PRINT);