mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-09 01:58:42 +00:00
Update mixins.py
This commit is contained in:
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…
Reference in New Issue
Block a user