mirror of
https://github.com/flarum/core.git
synced 2025-07-18 15:21:16 +02:00
Fix order of arguments.
This commit is contained in:
@@ -12,7 +12,7 @@ class UploadAvatarAction extends BaseAction
|
|||||||
$file = $request->file('avatar');
|
$file = $request->file('avatar');
|
||||||
|
|
||||||
$this->dispatch(
|
$this->dispatch(
|
||||||
new UploadAvatarCommand($userId, $this->actor->getUser(), $file),
|
new UploadAvatarCommand($userId, $file, $this->actor->getUser()),
|
||||||
$routeParams
|
$routeParams
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user