diff options
| author | Luc Donnet | 2015-04-30 14:00:40 +0200 |
|---|---|---|
| committer | Luc Donnet | 2015-04-30 14:00:40 +0200 |
| commit | e00a5af472575f9752608c2a1d0eca8a21e50a29 (patch) | |
| tree | d119b02cb9f4a2f9d52798bc6313d7d00dacb8f4 /app/models/import_task.rb | |
| parent | 9b785f79e34cff001a5eeed2d3118ca26f82aa4e (diff) | |
| download | chouette-core-e00a5af472575f9752608c2a1d0eca8a21e50a29.tar.bz2 | |
Update import to use json for StringIo
Diffstat (limited to 'app/models/import_task.rb')
| -rw-r--r-- | app/models/import_task.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/import_task.rb b/app/models/import_task.rb index 2db120afd..587eebb35 100644 --- a/app/models/import_task.rb +++ b/app/models/import_task.rb @@ -80,7 +80,7 @@ class ImportTask end def params_io - file = StringIO.new( params.to_json.to_s ) + file = StringIO.new( params.to_json ) Faraday::UploadIO.new(file, "application/json", "parameters.json") end |
