From a466a138b2dd175959b975ee5babca34aeefad24 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 8 Jul 2019 19:21:23 +0200 Subject: [PATCH] change createmodel function --- Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }