Merge branch 'master' into intermediate-key
This commit is contained in:
commit
3deeadfb10
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue