change createmodel function

This commit is contained in:
Dennis Eichhorn 2019-07-08 19:21:23 +02:00
parent 55747ab450
commit a466a138b2

View File

@ -78,7 +78,7 @@ final class ApiController extends Controller
return false;
}
$this->createModel($request, $profile, ProfileMapper::class, 'profile');
$this->createModel($request->getHeader()->getAccount(), $profile, ProfileMapper::class, 'profile');
return true;
}