overleaf/services
Jakob Ackermann c97e95aeba [web] confirmDomain: skip fetching affiliations per user
Nothing is looking at either
 - `user.emails[i].affiliation` or
 - `user.emails[i].emailHasInstitutionLicence`
So we might as well skip fetching the data.

This eliminates N v1 calls and N mongo calls from the endpoint.

GitOrigin-RevId: bb1d077df19910b9dfb7ef06562cf35ce5302290
2022-01-14 09:03:33 +00:00
..
chat remove uses of this in tests 2022-01-14 09:03:14 +00:00
clsi Merge pull request #6211 from overleaf/em-code-sharing 2022-01-07 09:03:22 +00:00
contacts Merge pull request #6211 from overleaf/em-code-sharing 2022-01-07 09:03:22 +00:00
docstore Merge pull request #6211 from overleaf/em-code-sharing 2022-01-07 09:03:22 +00:00
document-updater Merge pull request #6211 from overleaf/em-code-sharing 2022-01-07 09:03:22 +00:00
filestore Merge pull request #6295 from overleaf/bg-fix-error-in-request-logger 2022-01-11 09:04:14 +00:00
git-bridge Merge pull request #6221 from overleaf/ae-web-port 2022-01-12 09:03:47 +00:00
notifications Merge pull request #6211 from overleaf/em-code-sharing 2022-01-07 09:03:22 +00:00
real-time Merge pull request #6211 from overleaf/em-code-sharing 2022-01-07 09:03:22 +00:00
spelling Merge pull request #6211 from overleaf/em-code-sharing 2022-01-07 09:03:22 +00:00
track-changes Add "lint" scripts to dev environment root (#6229) 2022-01-11 09:03:30 +00:00
web [web] confirmDomain: skip fetching affiliations per user 2022-01-14 09:03:33 +00:00