update torrent locales/sensitive values on user approve

This commit is contained in:
ghost 2023-10-13 00:20:28 +03:00
parent e713c17333
commit da1e869be5

View File

@ -568,6 +568,10 @@ class TorrentService
$this->entityManagerInterface->persist($torrentLocales);
$this->entityManagerInterface->flush();
$this->updateTorrentLocales(
$torrentLocales->getTorrentId(),
);
}
}
@ -695,6 +699,10 @@ class TorrentService
$this->entityManagerInterface->persist($torrentSensitive);
$this->entityManagerInterface->flush();
$this->updateTorrentSensitive(
$torrentSensitive->getTorrentId(),
);
}
}