mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fixed the wrong endpoint value check when no endpoint is set in config.
This commit is contained in:
parent
eb08b7af27
commit
5d43f463cf
@ -396,7 +396,7 @@
|
||||
{% else -%}
|
||||
var endpoint = '{{ endpoint }}';
|
||||
{% endif -%}
|
||||
if ($('#api_endpoint') && $('#api_endpoint').val() != '') {
|
||||
if ($('#api_endpoint') && typeof($('#api_endpoint').val()) != 'undefined') {
|
||||
endpoint = $('#api_endpoint').val();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user