mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
add torrent file validation
This commit is contained in:
parent
5aa20e6a22
commit
f919a7ed85
2 changed files with 14 additions and 6 deletions
|
|
@ -45,7 +45,7 @@ class TorrentController extends AbstractController
|
|||
}
|
||||
|
||||
// Read file
|
||||
if (!$file = $torrentService->readTorrentFileById($torrent->getId()))
|
||||
if (!$file = $torrentService->readTorrentFileByTorrentId($torrent->getId()))
|
||||
{
|
||||
throw $this->createNotFoundException();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue