early-greece-31712
02/11/2024, 9:46 PMory
.toSession()
.then(async ({ data }) => {
console.log("data: " + JSON.stringify(data));
})
.catch((err) => {
// Check the error to see if it's a 401 / 403 -> not logged in
errCode = err.response.status;
console.log(errCode);
navigateTo("<http://localhost:4000/ui/login>", { external: true });
});
Thank you.refined-kangaroo-48640
02/12/2024, 9:35 AMrefined-kangaroo-48640
02/12/2024, 10:23 AMearly-greece-31712
02/12/2024, 8:42 PM