Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't retrieve when invitation is launched before api start for the first time #1450

Open
Neosoulink opened this issue Jan 27, 2022 · 0 comments
Labels
Gauzy GitHub type: bug 🐛 Something isn't working

Comments

@Neosoulink
Copy link
Contributor

Bug Report (found in this branch)

🙁 Actual behavior

When I start the shop-mobile-ionic package, go to my browser, and land on the invitation page without starting the API server before, I can no longer get data of products... To be able to get products, I must delete the caches of the site relaunch the app to display the invitation page (and make sure that the api is running).

What happens is:
It checks if the registered device exists in the database and since it can't find the user, it doesn't display anything.

🙂 Expected behavior

When the ionic app launches and it doesn't find a server but the invitation page is launched, it does not save the data locally or it deletes the data of the device locally if it does not find the user in the database or it displays a dialog box with a message saying for example "you do not exist in the database, do you need to log out?" to delete caches

@Neosoulink Neosoulink added the type: bug 🐛 Something isn't working label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gauzy GitHub type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant