mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-04 17:30:27 -05:00
update: announce
This commit is contained in:
@@ -25,7 +25,9 @@ class TorrentPeerController extends Controller
|
||||
{
|
||||
$torrent = Torrent::withAnyStatus()->findOrFail($id);
|
||||
$peers = Peer::query()
|
||||
->with(['user'])
|
||||
->with('user')
|
||||
->select(['torrent_id', 'user_id', 'uploaded', 'downloaded', 'left', 'port', 'agent', 'created_at', 'updated_at', 'seeder'])
|
||||
->selectRaw('INET6_NTOA(ip) as ip')
|
||||
->where('torrent_id', '=', $id)
|
||||
->latest('seeder')
|
||||
->get()
|
||||
|
||||
Reference in New Issue
Block a user