File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default {
2626 async run ( { $ } ) {
2727 const response = await this . lusha . enrichCompanies ( {
2828 $,
29- params : {
29+ data : {
3030 requestId : this . requestId ,
3131 companiesIds : this . companiesIds ,
3232 } ,
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ export default {
1313 lusha ,
1414 "requestId" ,
1515 ] ,
16- label : "Company Request ID" ,
17- description : "The request ID generated from the company search response." ,
16+ label : "Contact Request ID" ,
17+ description : "The request ID generated from the contact search response." ,
1818 } ,
1919 contactIds : {
2020 propDefinition : [
@@ -26,7 +26,7 @@ export default {
2626 async run ( { $ } ) {
2727 const response = await this . lusha . enrichContacts ( {
2828 $,
29- params : {
29+ data : {
3030 requestId : this . requestId ,
3131 contactIds : this . contactIds ,
3232 } ,
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ export default {
4141 } ,
4242 contactNames : {
4343 type : "string[]" ,
44- label : "Company Names" ,
45- description : "Names of companies to search." ,
44+ label : "Contact Names" ,
45+ description : "Names of contacts to search." ,
4646 } ,
4747 jobTitles : {
4848 type : "string[]" ,
@@ -96,7 +96,7 @@ export default {
9696 } ,
9797 } ,
9898 methods : {
99- _apiUrl ( ) {
99+ _baseUrl ( ) {
100100 return "https://api.lusha.com" ;
101101 } ,
102102 _headers ( ) {
@@ -108,7 +108,7 @@ export default {
108108 $ = this , path, ...opts
109109 } ) {
110110 return axios ( $ , {
111- url : this . _baseUrl ( ) + path ,
111+ url : ` ${ this . _baseUrl ( ) } ${ path } ` ,
112112 headers : this . _headers ( ) ,
113113 ...opts ,
114114 } ) ;
You can’t perform that action at this time.
0 commit comments