Skip to content

Commit

Permalink
fix: Remove statement that was removing the permissions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
bellini666 committed Oct 17, 2024
1 parent 73fdf0a commit f18a7c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions strawberry_django/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,6 @@ def _get_cache(
cache = {}
setattr(user, cache_key, cache)

cache = {}
setattr(user, cache_key, cache)
return cache

def _has_perm(
Expand Down

0 comments on commit f18a7c8

Please sign in to comment.