Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Concept.prototype.displayResults = function(emailsList){
- Promise.map(emailsList, function (email, i) {
- return this.fetchImageURL(email).then(imageURL => {
- return this.checkFaceExistence(imageURL)
- }).then(exists => {
- console.log("User with email:", email, "and index:", i, "has/hasn't face in his profile picture", exists)
- }).catch(error => {
- // Error occured
- });
- });
- }
Add Comment
Please, Sign In to add comment