mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix stray reference to LOG_LEVEL_CODES
This commit is contained in:
@ -302,7 +302,7 @@ class ScriptLogMessageSerializer(serializers.Serializer):
|
||||
message = serializers.SerializerMethodField(read_only=True)
|
||||
|
||||
def get_status(self, instance):
|
||||
return LOG_LEVEL_CODES.get(instance[0])
|
||||
return instance[0]
|
||||
|
||||
def get_message(self, instance):
|
||||
return instance[1]
|
||||
|
Reference in New Issue
Block a user