Merge branch 'release/3.8.13' into main

This commit is contained in:
Antonella Sgarlatta
2021-06-29 20:31:29 -03:00

View File

@@ -76,7 +76,8 @@ function useSessions(
setSessions(sessionsDuringRevoke);
const response = await responsePromise;
if (isNullOrUndefined(response) || isNullOrUndefined(response.data)) {
console.log(response);
if (isNullOrUndefined(response)) {
setSessions(sessionsBeforeRevoke);
} else if ('error' in response) {
if (response.error?.message) {