File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " liveperson-functions-client" ,
3- "version" : " 2.0.2 " ,
3+ "version" : " 2.0.3 " ,
44 "description" : " JavaScript client for LivePerson Functions." ,
55 "author" : {
66 "name" : " LivePersonInc" ,
Original file line number Diff line number Diff line change @@ -554,12 +554,14 @@ export class BaseClient {
554554 isImplementedData . accountId ,
555555 isImplementedData . eventId
556556 ) ;
557- const query =
558- isImplementedData . userId !== undefined
559- ? {
560- userId : isImplementedData . userId ,
561- }
562- : { } ;
557+ const query : { userId ?: string ; skillId ?: string } = { } ;
558+ if ( isImplementedData . userId !== undefined ) {
559+ query . userId = isImplementedData . userId ;
560+ }
561+ if ( isImplementedData . skillId !== undefined ) {
562+ query . skillId = isImplementedData . skillId ;
563+ }
564+
563565 const url = await this . getUrl ( {
564566 path,
565567 domain,
You can’t perform that action at this time.
0 commit comments