Fix get_enterprise_customer api cache key.

ENT-704
This commit is contained in:
Douglas Hall
2017-10-12 19:48:24 -04:00
committed by zubair-arbi
parent c5e0ce503e
commit 2062dd8629
2 changed files with 15 additions and 7 deletions

View File

@@ -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)