fix: incorrect air date on movies, severance returning 500 from 0 episodes in new season

This commit is contained in:
2025-09-09 11:13:42 -05:00
parent d63d477ed1
commit e9edd6a35a
4 changed files with 8 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ class TmdbTvShowResultDenormalizer extends TmdbResultDenormalizer implements Den
array $context = []
): bool {
return array_key_exists('media_type', $context) &&
$context['media_type'] === "tvshows";
$context['media_type'] === MediaType::TvShow->value;
}
public function getSupportedTypes(?string $format): array