n8n-nodes-atendix 1.3.3 → 1.3.4
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.
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.TrayApiAuto = void 0;
|
|
9
|
-
const CONSUMER_KEY =
|
|
10
|
-
const CONSUMER_SECRET =
|
|
9
|
+
const CONSUMER_KEY = 'edb6c989395fa2d22be2505dbbaa202a818ca0fd0eb222a7389fdedb3782a467';
|
|
10
|
+
const CONSUMER_SECRET = '750dfb677368a6c070ef24de04e843eaa6085a05be298e98d5ad7139421ef7e6';
|
|
11
11
|
class TrayApiAuto {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.name = 'trayApiAuto';
|
|
@@ -85,8 +85,8 @@ class TrayApiAuto {
|
|
|
85
85
|
url: '/auth',
|
|
86
86
|
method: 'POST',
|
|
87
87
|
body: {
|
|
88
|
-
consumer_key:
|
|
89
|
-
consumer_secret:
|
|
88
|
+
consumer_key: 'edb6c989395fa2d22be2505dbbaa202a818ca0fd0eb222a7389fdedb3782a467',
|
|
89
|
+
consumer_secret: '750dfb677368a6c070ef24de04e843eaa6085a05be298e98d5ad7139421ef7e6',
|
|
90
90
|
code: '={{$credentials.authCode}}',
|
|
91
91
|
},
|
|
92
92
|
},
|
|
@@ -112,8 +112,8 @@ class TrayApiAuto {
|
|
|
112
112
|
const apiAddress = credentials.apiAddress.replace(/\/$/, '');
|
|
113
113
|
const authCode = credentials.authCode;
|
|
114
114
|
// Pega as chaves direto do processo para garantir que não estão vazias
|
|
115
|
-
const consumerKey =
|
|
116
|
-
const consumerSecret =
|
|
115
|
+
const consumerKey = 'edb6c989395fa2d22be2505dbbaa202a818ca0fd0eb222a7389fdedb3782a467';
|
|
116
|
+
const consumerSecret = '750dfb677368a6c070ef24de04e843eaa6085a05be298e98d5ad7139421ef7e6';
|
|
117
117
|
console.log(` Tentando autenticar na URL: ${apiAddress}/auth`);
|
|
118
118
|
console.log(` Usando Key: ${consumerKey ? 'Preenchida' : 'VAZIA!'}`);
|
|
119
119
|
try {
|