perf: 去掉创建记录报错

pull/11900/head
ibuler 2023-10-18 17:25:44 +08:00 committed by 老广
parent a2fcc47436
commit fef26c38fe
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [