From edd344efa66881ed81d62ada1ed5d6fe2274f421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 23 Aug 2016 14:10:58 +0200 Subject: [PATCH] Attempt to use new Travis API. --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index eb2b3c0..8103358 100644 --- a/script.js +++ b/script.js @@ -140,8 +140,8 @@ function getBuildDate(build) { function getJSON(url, callback) { return d3.xhr(url) - .mimeType("application/json") .header("Accept", "application/vnd.travis-ci.2+json") + .mimeType("application/json") .response(function(xhr) { return JSON.parse(xhr.responseText); }) .get(callback); }