bidireccionalgmailcontacts-celerex
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -6,2 +6,3 @@ const mongoose = require("mongoose"); | ||
token: String, | ||
refreshToken: String, | ||
type: String, | ||
@@ -8,0 +9,0 @@ email: String, |
{ | ||
"name": "bidireccionalgmailcontacts-celerex", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -210,3 +210,3 @@ const mongoose = require("mongoose"); | ||
if (response.status === 200) { | ||
//console.log(`Contacts of ${email} were updated succesfully`); | ||
console.log(`Contacts of ${email} were updated succesfully`); | ||
return { | ||
@@ -262,8 +262,3 @@ responseMsg: `Contacts of ${email} were updated succesfully`, | ||
const refreshAccessToken = async ( | ||
client_id, | ||
client_secret, | ||
refresh_token, | ||
grant_type | ||
) => { | ||
const refreshAccessToken = async (client_id, client_secret, refresh_token) => { | ||
const data = { | ||
@@ -281,2 +276,3 @@ client_id, | ||
}); | ||
console.log(response); | ||
@@ -294,6 +290,14 @@ /* //console.log(`Contacts of ${email} were updated succesfully`); | ||
refreshAccessToken( | ||
"971602638700-ob3kadat9n3f6oif5pk8t5ebjuajp2q3.apps.googleusercontent.com", | ||
"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", | ||
"1//06t9tWak0h2leCgYIARAAGAYSNwF-L9IrpcuEcwNfHvsvZrXvKsGGU1Twm0DB9g1eZE_zfZzB_4ZGaOvrCn83om5faOlR0KMkAfQ" | ||
) | ||
.then((res) => {}) | ||
.catch(); | ||
module.exports = { | ||
getUsers, | ||
getContactsUser, | ||
callLambda | ||
callLambda, | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9454
265
0