mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 05:23:11 +08:00
Fix order of arguments.
This commit is contained in:
parent
77b4e7694a
commit
67637d5c71
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user