mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 20:18:59 -05:00
fix: fetch relation result instead of relation.
We want the category database record, not the query builder instance.
This commit is contained in:
@@ -222,7 +222,7 @@ class TorrentController extends Controller
|
||||
Keyword::upsert($keywords->toArray(), ['torrent_id', 'name'], []);
|
||||
}
|
||||
|
||||
$category = $torrent->category();
|
||||
$category = $torrent->category;
|
||||
|
||||
// TMDB Meta
|
||||
if ($torrent->tmdb != 0) {
|
||||
|
||||
Reference in New Issue
Block a user