diff --git a/Controller/ApiController.php b/Controller/ApiController.php index e93e5be..d2663fc 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -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; }