Skip to content

Commit

Permalink
XOL-6302 fix symfony 3 compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anush committed Aug 16, 2021
1 parent d4006bb commit 753998c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/ElasticsearchProxyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ElasticsearchProxyController extends AbstractController
public function proxyAction(Request $request, $index, $slug): ?Response
{
// Check if requested elastic search index is allowed for querying
$config = $this->container->get('xola_elasticsearch_proxy');
$config = $this->getParameter('xola_elasticsearch_proxy');
if (!in_array($index, $config['client']['indexes'])) {
throw new AccessDeniedHttpException();
}
Expand Down

0 comments on commit 753998c

Please sign in to comment.