change check

This commit is contained in:
Shubham Prasad 2020-04-13 14:07:04 +05:30
parent 8ff63ce299
commit 59a5aa7c55

View file

@ -33,7 +33,7 @@ export function Request(config) {
json: true
};
if (typeof (params) != 'undefined') {
if (params) {
if (params.hasOwnProperty('is_call_insights_request')) {
options.url = params.call_insights_base_url + params.call_insights_request_path;
delete params.is_call_insights_request;