fix: scopes downloads and monitors to users
This commit is contained in:
@@ -12,7 +12,7 @@ class AddMonitorInput implements InputInterface
|
||||
{
|
||||
public function __construct(
|
||||
#[SourceSecurity]
|
||||
public string $userEmail,
|
||||
public int|string $userId,
|
||||
|
||||
#[SourceRequest('tmdbId')]
|
||||
public string $tmdbId,
|
||||
@@ -36,7 +36,7 @@ class AddMonitorInput implements InputInterface
|
||||
public function toCommand(): CommandInterface
|
||||
{
|
||||
return new AddMonitorCommand(
|
||||
$this->userEmail,
|
||||
$this->userId,
|
||||
$this->title,
|
||||
$this->imdbId,
|
||||
$this->tmdbId,
|
||||
|
||||
Reference in New Issue
Block a user