mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-21 20:47:31 +00:00
perf: 去掉创建记录报错
This commit is contained in:
parent
a2fcc47436
commit
fef26c38fe
@ -69,7 +69,7 @@ class ActivityLogHandler:
|
||||
|
||||
def create_activities(resource_ids, detail, detail_id, action, org_id):
|
||||
if not resource_ids:
|
||||
raise ValueError('resource_ids is empty')
|
||||
return
|
||||
if not org_id:
|
||||
org_id = Organization.ROOT_ID
|
||||
activities = [
|
||||
|
Loading…
Reference in New Issue
Block a user