Skip to content

Commit 3b05996

Browse files
修复一处参数传递错误
1 parent 4c9cfd6 commit 3b05996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

component/api_noti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def create_manual_temple_noti():
428428
print(item)
429429
if 'distinct_id' in item and 'data_json' in item:
430430
result_temple = select_noti_temple(project=project,temple_id=temple_id)
431-
result = apply_temple(project=project,temple_args=json.loads(result_temple[0][0][2]),temple_content=json.loads(result_temple[0][0][3]),data_json=item['data_json'],data_key=item['distinct_id'],send_at=send_at,group_id=None,owner='system')
431+
result = apply_temple(project=project,temple_args=json.loads(result_temple[0][0][2]),temple_content=json.loads(result_temple[0][0][3]),data_json=item['data_json'],data_key=item['distinct_id'],send_at=send_at,group_id=None,owner=owner)
432432
data_list.append(result)
433433
result_insert = create_non_usergroup_noti(args={'owner':owner,'temple_id':temple_id,'project':project,'data':data_list})
434434
return jsonify(result_insert)

0 commit comments

Comments
 (0)