xiaolv commited on
Commit
10e3b8f
1 Parent(s): f40ac17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def upload_attachment(cookie ,organization_id,file_path):
119
 
120
 
121
 
122
- def request_to_v2(message, cookie, user_id,context=[]):
123
  ## 是否加入文件
124
  # Upload attachment if provided
125
  attachment = attachment.name
 
119
 
120
 
121
 
122
+ def request_to_v2(message, cookie, user_id,attachment=None,context=[]):
123
  ## 是否加入文件
124
  # Upload attachment if provided
125
  attachment = attachment.name