diff --git a/core/graphene/schema.py b/core/graphene/schema.py index f8f2520e..986c952f 100644 --- a/core/graphene/schema.py +++ b/core/graphene/schema.py @@ -199,7 +199,7 @@ class Query(ObjectType): return Vendor.objects.all() @staticmethod - def resolve_brands(_parent, info): + def resolve_brands(_parent, info, **kwargs): if not info.context.user.has_perm("core.view_brand"): return Brand.objects.filter(is_active=True) return Brand.objects.all()