Skip to content

Commit

Permalink
fix serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
arthanson committed Feb 17, 2023
1 parent 56baa34 commit 81f701b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netbox_napalm_plugin/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@

class NapalmPlatformSerializer(NetBoxModelSerializer):
url = serializers.HyperlinkedIdentityField(
view_name="plugins-api:netbox_napalm_plugin:napalmplatform-detail"
view_name="plugins-api:netbox_napalm_plugin-api:napalmplatform-detail"
)
platform = NestedPlatformSerializer()

class Meta:
model = NapalmPlatform
fields = [
"id",
"url",
"platform",
"napalm_driver",
"napalm_args",
Expand Down

0 comments on commit 81f701b

Please sign in to comment.