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

pull/6648/head
xinwen 3 years ago committed by 老广
parent bee4e05b5f
commit 0cd3419e09

@ -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