mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 00:40:12 -05:00
refactor: split tmdb into movie_id and tv_id
Step 2 in cleaner meta fetching code.
This commit is contained in:
@@ -126,7 +126,7 @@ class ProcessTvJob implements ShouldQueue
|
||||
Recommendation::upsert($tvScraper->getRecommendations(), ['recommendation_tv_id', 'tv_id']);
|
||||
|
||||
Torrent::query()
|
||||
->where('tmdb', '=', $this->id)
|
||||
->where('tv_id', '=', $this->id)
|
||||
->whereRelation('category', 'tv_meta', '=', true)
|
||||
->searchable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user