feat: included movie format on mal seeder (#600)

This commit is contained in:
Kyrch authored and GitHub committed 2023-10-29 22:26:24 -03:00
1 parent 9456a47de3
commit 5bfee4aafb
1 file changed
+2 -1
+2 -1
View File
@@ -42,8 +42,9 @@ class AnimeFormatSeeder extends Seeder
$format = Arr::get($response, 'media_type');
if ($format !== null) {
if (in_array($format, ['tv', 'ova', 'ona', 'special'], true)) {
if (in_array($format, ['movie', 'tv', 'ova', 'ona', 'special'], true)) {
$formats = [
'movie' => AnimeMediaFormat::MOVIE->value,
'tv' => AnimeMediaFormat::TV->value,
'ova' => AnimeMediaFormat::OVA->value,
'ona' => AnimeMediaFormat::ONA->value,