mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 01:48:38 -06:00
Fix stray reference to LOG_LEVEL_CODES
This commit is contained in:
parent
e02936a44a
commit
1f905e72d9
@ -302,7 +302,7 @@ class ScriptLogMessageSerializer(serializers.Serializer):
|
|||||||
message = serializers.SerializerMethodField(read_only=True)
|
message = serializers.SerializerMethodField(read_only=True)
|
||||||
|
|
||||||
def get_status(self, instance):
|
def get_status(self, instance):
|
||||||
return LOG_LEVEL_CODES.get(instance[0])
|
return instance[0]
|
||||||
|
|
||||||
def get_message(self, instance):
|
def get_message(self, instance):
|
||||||
return instance[1]
|
return instance[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user