lib/babelyoda/tanker.rb in babelyoda-2.0.6 vs lib/babelyoda/tanker.rb in babelyoda-2.0.7
- old
+ new
@@ -67,9 +67,11 @@
end
payload = {
:file => StringIO.new(doc),
'project-id' => project_id,
'keyset-id' => keyset.name,
+ # TODO: REMOVE ME when Tanker is fixed.
+ 'language' => :en,
:format => 'xml'
}
payload.merge!({:language => language}) if language
post('/keysets/replace/', payload)
end