mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
add publisher link #11
This commit is contained in:
parent
4a6dd85c60
commit
ffa59d6f82
2 changed files with 19 additions and 0 deletions
|
|
@ -57,6 +57,15 @@ class TorrentController extends AbstractController
|
|||
[
|
||||
'id' => $torrent->getId(),
|
||||
'added' => $torrent->getAdded(),
|
||||
'user' =>
|
||||
[
|
||||
'id' => $torrent->getUserId(),
|
||||
'identicon' => $userService->identicon(
|
||||
$userService->get(
|
||||
$torrent->getUserId()
|
||||
)->getAddress()
|
||||
),
|
||||
],
|
||||
'scrape' =>
|
||||
[
|
||||
'seeders' => (int) $torrent->getSeeders(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue