fix(access): correct truthy check for team ViewSet property when evaluating queryset

ref: #512 #518
This commit is contained in:
2025-02-04 07:58:13 +09:30
parent 325509aa16
commit 36992f8469

View File

@ -144,7 +144,7 @@ class ViewSet( ModelViewSet ):
def get_queryset(self):
if self.queryset:
if self.queryset is not None:
return self.queryset