Browse Source

Update ApiController, fix nulls in hashtag endpoint

Daniel Supernault 4 năm trước cách đây
mục cha
commit
f1208de0ef
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);