Skip to content

Commit ec00bc4

Browse files
authored
Merge pull request #545 from LesnyRumcajs/patch-1
fix: `files_upload_v2` usage in README
2 parents b05610b + 4b32fd0 commit ec00bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ This library provides a helper method `files_upload_v2` that wraps the three sep
177177
client.files_upload_v2(
178178
# required options
179179
filename: 'results.pdf', # this is used for the file title, unless a :title option is provided
180-
contents: File.read('/users/me/results.pdf'), # the string contents of the file
180+
content: File.read('/users/me/results.pdf'), # the string contents of the file
181181

182182
# optional options
183183
channels: ['C000000', 'C000001'], # channel IDs to share the file in (:channel_id, :channel, or :channels are all supported)

0 commit comments

Comments
 (0)