From f717345ec9cd3634d571eb48df7232bc0a43f8e6 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 24 May 2017 16:04:19 +0200 Subject: [PATCH] Removed unnecessary argument in Promise --- material/base.html | 2 +- .../javascripts/components/Material/Source/Adapter/GitHub.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/material/base.html b/material/base.html index 4d7b4a173..7c52a670c 100644 --- a/material/base.html +++ b/material/base.html @@ -149,7 +149,7 @@ {% endblock %} {% block scripts %} - + {% for path in extra_javascript %} diff --git a/src/assets/javascripts/components/Material/Source/Adapter/GitHub.js b/src/assets/javascripts/components/Material/Source/Adapter/GitHub.js index f75e5534b..a47835e58 100644 --- a/src/assets/javascripts/components/Material/Source/Adapter/GitHub.js +++ b/src/assets/javascripts/components/Material/Source/Adapter/GitHub.js @@ -60,7 +60,7 @@ export default class GitHub extends Abstract { */ fetch_() { return fetch(this.base_) - .then(response => response.json(), () => {}) + .then(response => response.json()) .then(data => { if (!(data instanceof Array)) throw new TypeError