add missed bittorrent protocol info on search page

This commit is contained in:
ghost 2023-10-16 18:00:12 +03:00
parent 4cafc51b67
commit 2acfc06ca6

View File

@ -299,6 +299,11 @@ class TorrentController extends AbstractController
[ [
'name' => $file->getName(), 'name' => $file->getName(),
'size' => $file->getSize(), 'size' => $file->getSize(),
'hash' =>
[
'v1' => $file->getInfoHashV1(false),
'v2' => $file->getInfoHashV2(false)
],
], ],
'scrape' => 'scrape' =>
[ [