Skip to content

Commit 717596b

Browse files
WhiteRabbitDEWhiteRabbitDE
authored andcommitted
fix cs
1 parent d38d96c commit 717596b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridge/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<link rel="stylesheet" href="{{ asset('bundles/apiplatform/style.css') }}">
1111
{% endblock %}
1212

13-
{% set oauthData = {'oauth': swagger_data.oauth|merge({'redirectUrl' : absolute_url(asset('bundles/apiplatform/swagger-ui/oauth2-redirect.html')) })} %}
13+
{% set oauth_data = {'oauth': swagger_data.oauth|merge({'redirectUrl' : absolute_url(asset('bundles/apiplatform/swagger-ui/oauth2-redirect.html')) })} %}
1414
{# json_encode(65) is for JSON_UNESCAPED_SLASHES|JSON_HEX_TAG to avoid JS XSS #}
15-
<script id="swagger-data" type="application/json">{{ swagger_data|merge(oauthData)|json_encode(65)|raw }}</script>
15+
<script id="swagger-data" type="application/json">{{ swagger_data|merge(oauth_data)|json_encode(65)|raw }}</script>
1616
</head>
1717

1818
<body>

0 commit comments

Comments
 (0)