Javascript – I want to make refresh token API call every 60 minutes
I currently have a refresh token API call after every 60 mints, Here is my condition: **const expires_in = 3600 //This is 3600s comes from auth api if (refreshToken && expires_in * 1000 > Date.now() + 3600000) { // RefreshToken…