mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-03 12:18:42 +00:00
change createmodel function
This commit is contained in:
parent
356f554830
commit
60198589c9
|
|
@ -77,7 +77,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
$doc = $this->createDocFromRequest($request);
|
||||
$this->createModel($request, $doc, EditorDocMapper::class, 'doc');
|
||||
$this->createModel($request->getHeader()->getAccount(), $doc, EditorDocMapper::class, 'doc');
|
||||
$this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Document', 'Document successfully created', $doc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user