Skip to content
Snippets Groups Projects
Commit e1cb10b4 authored by Zia Fazal's avatar Zia Fazal
Browse files

Removed EnterpriseMiddleware

EnterpriseMiddleware set value of user's enterprise customer in session. In order to get value of enterprise customer it calls `enterprise/api/v1/enterprise-learner` API. Sometimes this middleware is called many times which result in many call to the under lying API and throttling of API causes 429 http errors.
We are not removing that middleware and storing value of user's enterprise customer in session inside underlying method.
ENT-1849

Removed pdb statement
parent b985e413
Branches
Tags release-2020-06-18-04.55
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment