Skip to content

Commit

Permalink
feat: included movie format on mal seeder (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrch authored Oct 30, 2023
1 parent 9456a47 commit 5bfee4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion database/seeders/Wiki/AnimeFormatSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ protected function malSeeder(): void
$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,
Expand Down

0 comments on commit 5bfee4a

Please sign in to comment.