mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-13 21:01:24 +00:00
Run symfonysetlist up to symfony_70
This commit is contained in:
@@ -40,7 +40,7 @@ class StoredObjectApiController extends ApiController
|
||||
*
|
||||
* @throws AccessDeniedHttpException if the user does not have the necessary role to create a stored object
|
||||
*/
|
||||
#[Route('/api/1.0/doc-store/stored-object/create', methods: ['POST'])]
|
||||
#[\Symfony\Component\Routing\Attribute\Route('/api/1.0/doc-store/stored-object/create', methods: ['POST'])]
|
||||
public function createStoredObject(): JsonResponse
|
||||
{
|
||||
if (!($this->security->isGranted('ROLE_ADMIN') || $this->security->isGranted('ROLE_USER'))) {
|
||||
|
||||
Reference in New Issue
Block a user