mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 03:32:12 -08:00
Calculate expiry date should not be async.
This commit is contained in:
parent
fc289262a8
commit
b092722488
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user