mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-27 06:28:40 +00:00
change createmodel function
This commit is contained in:
parent
0a50bf7753
commit
a024f87076
|
|
@ -113,7 +113,7 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
$tag = $this->createTagFromRequest($request);
|
||||
$this->createModel($request, $tag, TagMapper::class, 'tag');
|
||||
$this->createModel($request->getHeader()->getAccount(), $tag, TagMapper::class, 'tag');
|
||||
$this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Tag', 'Tag successfully created', $tag);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user