mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-14 10:08:49 +01:00
feat: included movie format on mal seeder (#600)
This commit is contained in:
1 parent
9456a47de3
commit
5bfee4aafb
1 file changed
+2
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user