lib/lt/lcms/lesson/uploader/gdoc.rb in lt-lcms-0.3.1 vs lib/lt/lcms/lesson/uploader/gdoc.rb in lt-lcms-0.4.0

- old
+ new

@@ -17,10 +17,11 @@ file_metadata[:parents] = [parent_folder_id] if parent_folder_id.present? file = service.create_file( file_metadata, fields: 'id', upload_source: StringIO.new(content), - content_type: content_type + content_type: content_type, + supports_all_drives: true ) file.id end private