Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion netbox/utilities/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def serialize_object(obj, resolve_tags=True, extra=None, exclude=None):
exclude = exclude or []

# Include custom_field_data as "custom_fields"
if hasattr(obj, 'custom_field_data'):
if 'custom_field_data' in data:
data['custom_fields'] = data.pop('custom_field_data')

# Resolve any assigned tags to their names. Check for tags cached on the instance;
Expand Down