makes allmutes api work with basicauth, thanks @lambadalambda
This commit is contained in:
parent
bc5f327a86
commit
88d7b5037d
|
@ -74,7 +74,7 @@ class ApiQvitterMutesAction extends ApiPrivateAuthAction
|
|||
{
|
||||
parent::handle();
|
||||
|
||||
$this->target = Profile::current();
|
||||
$this->target = $this->scoped;
|
||||
|
||||
if(!$this->target instanceof Profile) {
|
||||
$this->clientError(_('You have to be logged in to view your mutes.'), 403);
|
||||
|
|
Loading…
Reference in New Issue
Block a user