Skip to content

Commit 2933934

Browse files
committed
some adjusts
1 parent d84ba76 commit 2933934

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

components/lusha/actions/company-enrich/company-enrich.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
},

components/lusha/actions/contact-enrich/contact-enrich.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
},

components/lusha/lusha.app.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)