Skip to content

Commit

Permalink
fixup!: accidental change
Browse files Browse the repository at this point in the history
  • Loading branch information
rgraber committed Nov 6, 2024
1 parent f85e08c commit 28e9e84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions kobo/apps/audit_log/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ def create_from_import_task(cls, task: ImportTask):
action=AuditAction.REPLACE_FORM,
metadata=metadata,
)
# imports may change the name of an asset, log that too
if audit_log_info['old_name'] != audit_log_info['new_name']:
metadata.update(
{
Expand Down
2 changes: 1 addition & 1 deletion kpi/serializers/v2/import_task.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# coding: utf-8
from rest_framework import serializers

from kpi.fields import ReadOnlyJSONField
from kpi.models import ImportTask

Expand Down Expand Up @@ -38,3 +37,4 @@ class Meta(ImportTaskSerializer.Meta):
'uid',
'date_created',
)

0 comments on commit 28e9e84

Please sign in to comment.