#[Route(path: '/api/_info/config-me', name: 'api.config_me.update', defaults: ['auth_required' => true, '_routeScope' => ['administration']], methods: ['POST'])]
public function updateConfigMe(Context
$context, Request
$request): Response
{ $postUpdateConfigs =
$request->request->
all();
if (empty($postUpdateConfigs)) { return new JsonResponse(null, Response::HTTP_NO_CONTENT
);
} $this->
massUpsert($context,
$postUpdateConfigs);
return new JsonResponse(null, Response::HTTP_NO_CONTENT
);
} private function getOwnUserConfig(Context
$context, array
$keys): array
{ $userId =
$this->
getUserId($context);
$criteria =
new Criteria();
$criteria->
addFilter(new EqualsFilter('userId',
$userId));
if (!
empty($keys)) {