n8n-nodes-aivencerealtycrm 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1885,6 +1885,7 @@ class AivenceRealty {
|
|
|
1885
1885
|
const returnData = [];
|
|
1886
1886
|
const credentials = await this.getCredentials('aivenceRealtyApi');
|
|
1887
1887
|
const baseUrl = credentials.baseUrl;
|
|
1888
|
+
const apiKey = credentials.apiKey;
|
|
1888
1889
|
for (let i = 0; i < items.length; i++) {
|
|
1889
1890
|
try {
|
|
1890
1891
|
const resource = this.getNodeParameter('resource', i);
|
|
@@ -2286,6 +2287,9 @@ class AivenceRealty {
|
|
|
2286
2287
|
responseData = await this.helpers.httpRequest({
|
|
2287
2288
|
method: 'POST',
|
|
2288
2289
|
url: `${baseUrl}/api/v1/emails/ingest`,
|
|
2290
|
+
headers: {
|
|
2291
|
+
'Authorization': `Bearer ${apiKey}`,
|
|
2292
|
+
},
|
|
2289
2293
|
body,
|
|
2290
2294
|
json: true,
|
|
2291
2295
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-aivencerealtycrm",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Nodo n8n para integrar el CRM inmobiliario AivenceRealty",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -31,8 +31,7 @@
|
|
|
31
31
|
"dev": "tsc --watch",
|
|
32
32
|
"format": "prettier nodes credentials --write",
|
|
33
33
|
"lint": "eslint nodes credentials package.json",
|
|
34
|
-
"lintfix": "eslint nodes credentials package.json --fix"
|
|
35
|
-
"prepublishOnly": "npm run build"
|
|
34
|
+
"lintfix": "eslint nodes credentials package.json --fix"
|
|
36
35
|
},
|
|
37
36
|
"files": [
|
|
38
37
|
"dist"
|