Skip to content

Commit

Permalink
fix linkedin get gain (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
waelhanfi04 authored Jan 9, 2024
2 parents 0dc202b + f009d2d commit 6ca61be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion controllers/external.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1182,10 +1182,12 @@ module.exports.externalAnswer = async (req, res) => {
})
}



stats = await answerOne(
link.typeSN + '',
link.idPost + '',
externalWallet.UserId + '',
link.typeSN === '5' ? link.idUser+ '' : externalWallet.UserId+ '',
link.typeURL,
linkedinData,
tiktokProfile,
Expand Down
2 changes: 1 addition & 1 deletion manager/oracles.js
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ const linkedin = async (organization, idPost, type, linkedinProfile) => {
// perf.views = bodyVideo.elements[0].value
// }
return perf
} catch (err) {}
} catch (err) {console.log("error",err)}
}

const getNewAccessTokenInstagram = async (accessToken, fbGraphVersion) => {
Expand Down

0 comments on commit 6ca61be

Please sign in to comment.