Update mixins.py

pull/10715/head
nut 1 year ago committed by Jiangjie.Bai
parent d51323faef
commit 4bcd47df64

@ -92,7 +92,7 @@ class RecordViewLogMixin:
activities = [
ActivityLog(
resource_id=getattr(resource_id, 'pk', resource_id),
type=ActivityChoices.operate_log, detail=detail, org_id=current_org,
type=ActivityChoices.operate_log, detail=detail, org_id=current_org.id,
)
for resource_id in ids
]

Loading…
Cancel
Save