Update StatusHashtagService, fix null status bug

pull/2838/head
Daniel Supernault 2021-07-05 23:40:54 -06:00
rodzic f215ee26b3
commit 51a277e1ae
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -30,6 +30,9 @@ class StatusHashtagService {
->map(function ($i, $k) use ($id) {
return self::getStatus($i, $id);
})
->filter(function ($i) {
return isset($i['status']) && !empty($i['status']);
})
->all();
}
@ -72,4 +75,4 @@ class StatusHashtagService {
{
return ['status' => StatusService::get($statusId)];
}
}
}