mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix cancel torrent hr bulk not work
This commit is contained in:
@@ -668,6 +668,7 @@ class TorrentRepository extends BaseRepository
|
||||
'hr' => $hrStatus,
|
||||
];
|
||||
$idArr = Arr::wrap($id);
|
||||
do_log(sprintf("set torrent: %s hr: %s", implode(",", $idArr), $hrStatus));
|
||||
return Torrent::query()->whereIn('id', $idArr)->update($update);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user