change createmodel function

This commit is contained in:
Dennis Eichhorn 2019-07-08 19:21:23 +02:00
parent 0a50bf7753
commit a024f87076

View File

@ -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);
}