Skip to content
Snippets Groups Projects
Commit 7f888d54 authored by Guillaume Vagner's avatar Guillaume Vagner
Browse files

error conversion date nodejs

parent 166ec57c
No related branches found
No related tags found
No related merge requests found
......@@ -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)
})
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment