Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Envid appended onto route twice through SkyAuthHttp when calls come in together quickly #742

Closed
Blackbaud-TrevorBurch opened this issue May 30, 2017 · 1 comment
Assignees

Comments

@Blackbaud-TrevorBurch
Copy link
Member

Expected behavior

I would not expect envid to be added to a route twice when it goes through SkyAuthHttp

Actual behavior

We have had a situation where when multiple calls come through SkyAuthHttp quickly some of them end up with the envid parameter appended twice when they are sent out. I was able to debug into the auth-http.ts file and figured out that all requests coming in to the request method did not have an envid parameter set. However, once the flatMap function is called on the Observable.fromPromise the url variable had the envid already appended for some calls thus resulting in the envid being appended a second time later in the function and some requests having the parameter set twice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants