Commit 7f888d54 authored by Guillaume Vagner's avatar Guillaume Vagner
Browse files

error conversion date nodejs

parent 166ec57c
......@@ -126,7 +126,7 @@ function getNewToken(chan) {
rep = JSON.parse(body);
chan.token = rep.access_token;
chan.refresh = rep.refresh_token;
chan.expiration = rep.expires_at * 1000;
chan.expiration = rep.expires_at;
return modifyChan(chan)
})
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment