diff --git a/main.rb b/main.rb index 44c3344..c7da5b3 100644 --- a/main.rb +++ b/main.rb @@ -49,7 +49,7 @@ file = Faraday::Multipart::FilePart.new( response = conn.post('/api/v2/media') do |req| req.headers['Authorization'] = "Bearer #{auth_token}" - req.body = { file: file } + req.body = { file: file, description: "A photo of a bird of prey taken from Wikimedia Commons. The photo was described as follows by the original uploader or creator: #{desc_sanitised}" } end puts response.status