implement torrent posters feature #18

This commit is contained in:
ghost 2023-10-30 04:44:44 +02:00
parent 8ae1b3f0b7
commit bd5191e894
16 changed files with 944 additions and 43 deletions

View file

@ -32,6 +32,7 @@ class UserService
string $theme,
bool $sensitive = true,
bool $yggdrasil = true,
bool $posters = true,
bool $approved = false,
bool $moderator = false,
bool $status = true
@ -84,6 +85,10 @@ class UserService
$yggdrasil
);
$user->setPosters(
$posters
);
$this->entityManagerInterface->persist($user);
$this->entityManagerInterface->flush();