Closed MalteMagnussen closed 4 years ago
After a great days pair-programming and debugging with @HrBjarup , we finally did it, and it works on both our phones. Couldn't have done it alone.
https://www.apollographql.com/docs/link/links/error/#retrying-failed-requests
This is fixed with an Observables workaround, which is recommended by the developers in the github issue linked below: Issue onError isn't async Solution https://github.com/apollographql/apollo-link/issues/646
Can use button to test
Put TOKEN_EXPIRATION=3600 into .env in backend
Ready to Merge.
Will demo tomorrow, then we can merge.
After a great days pair-programming and debugging with @HrBjarup , we finally did it, and it works on both our phones. Couldn't have done it alone.
https://www.apollographql.com/docs/link/links/error/#retrying-failed-requests
This is fixed with an Observables workaround, which is recommended by the developers in the github issue linked below: Issue onError isn't async Solution https://github.com/apollographql/apollo-link/issues/646
Can use button to test
Put TOKEN_EXPIRATION=3600 into .env in backend