Calculate expiry date should not be async.

pull/162/merge
Daniel Scalzi 2022-02-15 09:09:26 -05:00
parent fc289262a8
commit b092722488
No known key found for this signature in database
GPG Key ID: D18EA3FB4B142A57
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ async function fullMicrosoftAuthFlow(entryCode, authMode) {
* @param {number} epiresInS Expires in (seconds)
* @returns
*/
async function calculateExpiryDate(nowMs, epiresInS) {
function calculateExpiryDate(nowMs, epiresInS) {
return nowMs + ((epiresInS-10)*1000)
}