From f18a7c83e4227f19950f56267f16fa11b3d19538 Mon Sep 17 00:00:00 2001 From: Thiago Bellini Ribeiro Date: Thu, 17 Oct 2024 10:35:14 -0300 Subject: [PATCH] fix: Remove statement that was removing the permissions cache --- strawberry_django/permissions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/strawberry_django/permissions.py b/strawberry_django/permissions.py index c1424306..1af4e70a 100644 --- a/strawberry_django/permissions.py +++ b/strawberry_django/permissions.py @@ -786,8 +786,6 @@ def _get_cache( cache = {} setattr(user, cache_key, cache) - cache = {} - setattr(user, cache_key, cache) return cache def _has_perm(