Skip to content

Commit

Permalink
fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
SanterreJo committed Nov 16, 2024
1 parent bdc43bc commit 3a7281d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hiloApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export async function setupAutoRefreshToken(
unableToLogin(e);
}
}
}, expiresInSeconds / 60 - 5); // 5 minutes before expiration
}, (expiresInSeconds - 5 * 60) * 1000); // 5 minutes before expiration
}
}

Expand Down

0 comments on commit 3a7281d

Please sign in to comment.