Skip to content

Commit be1a975

Browse files
committed
fixing missing error_message
1 parent 8586145 commit be1a975

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

netbox_acls/api/serializers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ def validate(self, data):
122122
- Check that the GFK object is valid.
123123
- Check if Access List has no existing rules before change the Access List's type.
124124
"""
125+
error_message = {}
126+
125127
# Check that the GFK object is valid.
126128
assigned_object = validate_gfk(data)
127129

0 commit comments

Comments
 (0)