Skip to content

Commit

Permalink
fix: fix user policy search (#2357)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu327 authored Nov 10, 2023
1 parent 65742af commit 49aa2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saas/backend/apps/user/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,6 @@ def search(self, request, *args, **kwargs):
# no action_id policy
return Response([])

def get_subject(self, request):
def get_subject(self, request, kwargs):
subject = Subject.from_username(request.user.username)
return subject

0 comments on commit 49aa2fd

Please sign in to comment.