diff options
| author | Alban Peignier | 2018-05-04 09:59:50 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-04 09:59:50 +0200 |
| commit | 02e4dfd7d281a8a53ab51daee712562697fc2e4c (patch) | |
| tree | 855204f923f914ae18f0b03d42ef765516ec1712 | |
| parent | 4438611e99c12faefdc73ff6cbd966951bc6dd1b (diff) | |
| parent | ee6edf03f8da4015080261f3244144293e56ad11 (diff) | |
| download | chouette-core-02e4dfd7d281a8a53ab51daee712562697fc2e4c.tar.bz2 | |
Merge pull request #541 from af83/6661-make-TomTom-data-more-consistent
Disable traffic option in TomTom API invocations. Fixes #6661
| -rw-r--r-- | lib/tom_tom/matrix.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tom_tom/matrix.rb b/lib/tom_tom/matrix.rb index b0c8cc335..c418cd516 100644 --- a/lib/tom_tom/matrix.rb +++ b/lib/tom_tom/matrix.rb @@ -15,6 +15,7 @@ module TomTom req.headers['Content-Type'] = 'application/json' req.params[:routeType] = 'shortest' + req.params[:traffic] = 'false' req.params[:travelMode] = 'bus' req.body = build_request_body(points) |
