Browse Source

fix: 修复应用授权列表报错

pull/6648/head
xinwen 3 years ago committed by 老广
parent
commit
0cd3419e09
  1. 2
      apps/perms/api/application/application_permission.py

2
apps/perms/api/application/application_permission.py

@ -42,7 +42,7 @@ class ApplicationPermissionViewSet(BasePermissionViewSet):
return queryset
if not applications:
return queryset.none()
queryset = queryset.filter(applications=applications)
queryset = queryset.filter(applications__in=applications)
return queryset
def filter_queryset(self, queryset):

Loading…
Cancel
Save