[UPDT] ACCESSIBILITY: Error handling
This commit is contained in:
@@ -22,6 +22,8 @@ def _clear_accessibility_cache():
|
||||
|
||||
def _clear_bulk_employees_cache(queryset):
|
||||
for instance in queryset:
|
||||
cache_key = None
|
||||
if instance.employee_id and instance.employee_id.employee_user_id:
|
||||
cache_key = ACCESSIBILITY_CACHE_USER_KEYS.get(
|
||||
instance.employee_id.employee_user_id.id
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user