Update
This commit is contained in:
@@ -309,7 +309,7 @@ async function getOkanToken() {
|
|||||||
try {
|
try {
|
||||||
const agent = new HttpsProxyAgent(CONFIG.PROXY);
|
const agent = new HttpsProxyAgent(CONFIG.PROXY);
|
||||||
|
|
||||||
const responseOkan = await axios.post(CONFIG.ENDPOINT_OKAN_TOKEN, { user: '45957768' }, {
|
const responseOkan = await axios.post(CONFIG.ENDPOINT_OKAN_TOKEN, { user: process.env.USUARIO }, {
|
||||||
headers: { 'Authorization': CONFIG.TOKEN_OKAN_USER },
|
headers: { 'Authorization': CONFIG.TOKEN_OKAN_USER },
|
||||||
httpsAgent: agent
|
httpsAgent: agent
|
||||||
});
|
});
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "rpa-claro",
|
"name": "rpa-claro",
|
||||||
"version": "4.1.4",
|
"version": "4.1.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "rpa-claro",
|
"name": "rpa-claro",
|
||||||
"version": "4.1.4",
|
"version": "4.1.1",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+2
-2
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "rpa-claro",
|
"name": "rpa-claro",
|
||||||
"productName": "RpaClaro",
|
"productName": "RpaClaro",
|
||||||
"version": "4.1.4",
|
"version": "4.1.5",
|
||||||
"description": "RPA Claro",
|
"description": "RPA Claro",
|
||||||
"author": "TARS",
|
"author": "TARS",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "entry.js",
|
"main": "entry.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron . --user='46015744' --dev --log --code=TUN065",
|
"start": "electron . --user='46286506' --dev --log --code=POL911",
|
||||||
"postinstall": "electron-builder install-app-deps",
|
"postinstall": "electron-builder install-app-deps",
|
||||||
"pack": "electron-builder --dir",
|
"pack": "electron-builder --dir",
|
||||||
"build": "electron-builder --win && node copy-deps.js",
|
"build": "electron-builder --win && node copy-deps.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user