We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629de08 commit dbff98dCopy full SHA for dbff98d
lib/slack/web/api/helpers/files.rb
@@ -43,8 +43,8 @@ def files_upload_v2(options = {})
43
upload_url = get_upload_url_response[:upload_url]
44
file_id = get_upload_url_response[:file_id]
45
46
- # 2. upload the file
47
- post(upload_url, content)
+ # 2. upload the file and do not process the return body
+ post(upload_url, content, false)
48
49
# 3. complete the upload
50
complete_upload_request_params = options.slice(:channels, :initial_comment, :thread_ts)
0 commit comments