fix: tmdb service

This commit is contained in:
Roardom
2023-12-30 12:56:29 +00:00
parent fd12439113
commit 071c83b0db
6 changed files with 25 additions and 23 deletions
+1 -3
View File
@@ -46,13 +46,11 @@ class ProcessTvJob implements ShouldQueue
public function handle(): void
{
$tv = Tv::find($this->id);
// Tv
$tvScraper = new Client\TV($this->id);
Tv::updateOrCreate(['id' => $this->id], $tvScraper->getTv());
$tv = Tv::updateOrCreate(['id' => $this->id], $tvScraper->getTv());
// Companies