mirror of
https://github.com/flarum/core.git
synced 2025-10-19 10:46:06 +02:00
Fix errors in DeleteAvatarAction/Command
This commit is contained in:
@@ -41,7 +41,7 @@ class DeleteAvatarAction extends SerializeResourceAction
|
||||
protected function data(JsonApiRequest $request, JsonApiResponse $response)
|
||||
{
|
||||
return $this->bus->dispatch(
|
||||
new DeleteAvatarCommand($request->get('id'), $this->actor->getUser())
|
||||
new DeleteAvatarCommand($request->get('id'), $request->actor->getUser())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user