Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SamDudley committed Oct 8, 2024
1 parent e573a98 commit eecbec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staff/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def superuser_view(view_func):
def wrapper(request, *args, **kwargs):
if not request.user.is_superuser:
raise PermissionDenied
return view_func(*args, **kwargs)
return view_func(request, *args, **kwargs)

return wrapper

Expand Down

0 comments on commit eecbec0

Please sign in to comment.