fix cleanup jobs

This commit is contained in:
xiaomlove
2024-11-08 03:33:15 +08:00
parent 567d4fd16d
commit 6f3536f4cc
4 changed files with 6 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ class UpdateTorrentSeedersEtc implements ShouldQueue
->groupBy(['torrent'])
->get();
foreach ($res as $row) {
$torrents[$row->torrent]["comments"] = $row["c"];
$torrents[$row->torrent]["comments"] = $row->c;
}
$seedersUpdates = $leechersUpdates = $commentsUpdates = [];
foreach ($torrentIdArr as $id) {