Skip to content

Commit

Permalink
Add latest uid to the logs metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Guitlle committed Nov 21, 2024
1 parent b7433ef commit e05ceef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kobo/apps/audit_log/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ def create_from_bulk_request(request):
'log_subtype': PROJECT_HISTORY_LOG_PROJECT_SUBTYPE,
'ip_address': client_ip,
'source': source,
'latest_version_uid': asset.latest_version.uid,
}
ProjectHistoryLog.objects.create(
user=request.user,
Expand Down

0 comments on commit e05ceef

Please sign in to comment.