Update StatusLabelService

This commit is contained in:
Daniel Supernault 2021-01-29 19:46:55 -07:00
parent cc93b3e3a5
commit b7fcf8a504
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -20,7 +20,7 @@ class StatusLabelService
return Cache::remember(self::CACHE_KEY . $status->id, now()->addDays(7), function() use($status) { return Cache::remember(self::CACHE_KEY . $status->id, now()->addDays(7), function() use($status) {
return [ return [
'covid' => Str::of(strtolower($status->caption))->contains(['covid','corona', 'coronavirus', 'vaccine', 'vaxx', 'vaccination']) 'covid' => Str::of(strtolower($status->caption))->contains(['covid','corona', 'coronavirus', 'vaccine', 'vaxx', 'vaccination', 'plandemic'])
]; ];
}); });
} }