Skip to content

Commit 0cd9201

Browse files
authored
Keyword argument fix
1 parent 78de3f7 commit 0cd9201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/convert_stream.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
upload_io = ConvertApi::UploadIO.new(io, 'test.txt')
1919

2020
saved_files = ConvertApi
21-
.convert('pdf', File: upload_io)
21+
.convert('pdf', {File: upload_io})
2222
.save_files(Dir.tmpdir)
2323

2424
puts "The PDF saved to: #{saved_files}"

0 commit comments

Comments
 (0)