From 56003ee36ced81d133f496f9c8121fdbf35d6a08 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Mon, 4 Mar 2024 23:18:38 +0800 Subject: [PATCH] Fixes: #14832 Extend GraphQL FHRPGroupType with IPAddressesMixin --- netbox/ipam/graphql/types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/ipam/graphql/types.py b/netbox/ipam/graphql/types.py index b4350f9f259..d19837fd1b1 100644 --- a/netbox/ipam/graphql/types.py +++ b/netbox/ipam/graphql/types.py @@ -1,6 +1,7 @@ import graphene from ipam import filtersets, models +from .mixins import IPAddressesMixin from netbox.graphql.scalars import BigInt from netbox.graphql.types import BaseObjectType, OrganizationalObjectType, NetBoxObjectType @@ -71,7 +72,7 @@ class Meta: filterset_class = filtersets.AggregateFilterSet -class FHRPGroupType(NetBoxObjectType): +class FHRPGroupType(NetBoxObjectType, IPAddressesMixin): class Meta: model = models.FHRPGroup