Skip to content

Commit

Permalink
change evaluation of true statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vjm committed Aug 14, 2019
1 parent 5517765 commit faaf872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_rest_api/spec/templates/swagger_ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<script>
window.onload = function() {
const ui = SwaggerUIBundle({
{% if swagger_ui_enable_oauth is True %}
{% if swagger_ui_enable_oauth == True %}
oauth2RedirectUrl: "{{ url_for('api-docs.openapi_swagger_ui_redirect',_external=True) }}",
{% endif %}
url: "{{ url_for('api-docs.openapi_json') }}",
Expand Down

0 comments on commit faaf872

Please sign in to comment.