mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-14 06:38:40 +00:00
change createmodel function
This commit is contained in:
parent
55747ab450
commit
a466a138b2
|
|
@ -78,7 +78,7 @@ final class ApiController extends Controller
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->createModel($request, $profile, ProfileMapper::class, 'profile');
|
$this->createModel($request->getHeader()->getAccount(), $profile, ProfileMapper::class, 'profile');
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user