mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-03-13 05:51:10 +00:00
fix dependencies
This commit is contained in:
parent
cf204d09d0
commit
c47c8ad83b
@ -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…
x
Reference in New Issue
Block a user