Merge branch 'master' into intermediate-key

This commit is contained in:
Abhinav-grd 2021-04-01 20:47:23 +05:30
commit 3deeadfb10

View file

@ -56,7 +56,7 @@ export const clearFiles = async () => {
export const isTokenValid = async () => { export const isTokenValid = async () => {
try { try {
await HTTPService.get(`${ENDPOINT}/users/heartbeat`, null, { await HTTPService.get(`${ENDPOINT}/users/session-validity`, null, {
'X-Auth-Token': getToken(), 'X-Auth-Token': getToken(),
}); });
return true; return true;