Fakultas Ilmu Komputer UI

Commit d8070ebb authored by Irwanto's avatar Irwanto
Browse files

Fix model name in logs serializers

parent 684020df
......@@ -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