Fix order of arguments.

This commit is contained in:
Franz Liedke 2015-03-26 22:03:55 +01:00
parent a19f35e8c1
commit 9621e72b9b

View File

@ -12,7 +12,7 @@ class UploadAvatarAction extends BaseAction
$file = $request->file('avatar');
$this->dispatch(
new UploadAvatarCommand($userId, $this->actor->getUser(), $file),
new UploadAvatarCommand($userId, $file, $this->actor->getUser()),
$routeParams
);