mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
fix dependencies
This commit is contained in:
parent
cf204d09d0
commit
c47c8ad83b
1 changed files with 3 additions and 3 deletions
|
|
@ -484,9 +484,9 @@ class TorrentService
|
|||
int $torrentSensitiveId
|
||||
): ?TorrentSensitive
|
||||
{
|
||||
$torrentSensitive = $this->find(
|
||||
$torrentSensitiveId
|
||||
);
|
||||
$torrentSensitive = $this->entityManagerInterface
|
||||
->getRepository(TorrentSensitive::class)
|
||||
->find($torrentSensitiveId);
|
||||
|
||||
$torrentSensitive->setApproved(
|
||||
!$torrentSensitive->isApproved() // toggle current value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue