lib/qualtrics/panel_import.rb in qualtrics-0.6.0 vs lib/qualtrics/panel_import.rb in qualtrics-0.6.1
- old
+ new
@@ -11,9 +11,10 @@
def save
payload = headers
payload['LibraryID'] = library_id
payload['ColumnHeaders'] = 1
+ payload['PanelID'] = @panel.id if @panel.persisted?
file = Qualtrics::PanelImportFile.new(@recipients)
post 'importPanel', payload, File.read(file.temp_file)
true
end