popup info ; token update

This commit is contained in:
GotPPay
2018-01-05 17:56:24 +01:00
parent b55dd56859
commit 03c346f5d2
4 changed files with 35 additions and 10 deletions

View File

@@ -95,8 +95,6 @@ var uploadSkill = function(skill){
module.exports = {
updateSkill: function(skill, db){
console.log("update skill function");
return new Promise((resolve,reject)=>{
if (new Date() / 1000 > config.TOKEN_EXPIRES_IN){
refreshToken(db).then(()=>{