Closed victorforissier closed 8 months ago
Also, why do you define an anonymous function to call it right after ?
This is reallocating an anonymous function at runtime every time you're executing it, and it's inconsistent with the rest of the code, pls define your function at global level (and with the function keyword instead of const = () =>...)
Also the function name is backward
Your memory tests are broken.
Your memory tests are broken.
Fixed on main. Don't mind it
Doing this pull request because the handling of the access_token on auth breaks user experience. When there are other useful params in the path (e.g. ?docId=xxxxx) the cleanup in the code removes everything instead of just the access_token & refresh_token.
I fixed it by splitting the path and removing just the access_tokens and refresh_tokens and then rebuilding it.