Fakultas Ilmu Komputer UI

Commit 9257e4b9 authored by Irwanto's avatar Irwanto
Browse files

[REFACTOR] Fix model name for monitoring case log

parent 684020df
Pipeline #49090 passed with stages
in 3 minutes and 20 seconds
......@@ -41,7 +41,7 @@ class LogSerializer(serializers.Serializer):
if isinstance(instance, InvestigationCaseHistory):
return MODEL_NAME_INVESTIGATION_CASE
if isinstance(instance, MonitoringCaseHistory):
return MODEL_NAME_CASE_SUBJECT
return MODEL_NAME_MONITORING_CASE
def get_author(self, instance):
if isinstance(instance.author, Account):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment