diff --git a/lib/resources/verify.js b/lib/resources/verify.js index ef5d604d..17d04db2 100644 --- a/lib/resources/verify.js +++ b/lib/resources/verify.js @@ -140,7 +140,7 @@ export class SessionInterface extends PlivoResourceInterface { create(sessionReq){ var isObject = arguments.length; - var app_uuid, recipient, url, method, channel, locale + var app_uuid, recipient, url, method, channel, locale , brand_name, app_hash if (isObject === 1) { app_uuid = sessionReq.app_uuid @@ -149,6 +149,8 @@ export class SessionInterface extends PlivoResourceInterface { method = sessionReq.method channel = sessionReq.channel locale = sessionReq.locale + brand_name = sessionReq.brand_name + app_hash = sessionReq.app_hash } let errors = validate([{ @@ -182,6 +184,12 @@ export class SessionInterface extends PlivoResourceInterface { if(method) { params.method = method } + if(brand_name) { + params.brand_name = brand_name + } + if(app_hash) { + params.app_hash = app_hash + } } let client = this[clientKey];