Explorar el Código

Update ApiController, fix nulls in hashtag endpoint

Daniel Supernault hace 4 años
padre
commit
f1208de0ef
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Http/Controllers/Api/ApiV1Controller.php

+ 1 - 0
app/Http/Controllers/Api/ApiV1Controller.php

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