Fix get_enterprise_customer api cache key.
ENT-704
This commit is contained in:
committed by
zubair-arbi
parent
c5e0ce503e
commit
2062dd8629
@@ -268,6 +268,7 @@ class EnterpriseApiServiceClient(EnterpriseServiceClientMixin, EnterpriseApiClie
|
||||
"""
|
||||
cache_key = get_cache_key(
|
||||
resource='enterprise-customer',
|
||||
resource_id=uuid,
|
||||
username=settings.ENTERPRISE_SERVICE_WORKER_USERNAME,
|
||||
)
|
||||
enterprise_customer = cache.get(cache_key)
|
||||
|
||||
Reference in New Issue
Block a user