Removed unnecessary argument in Promise

This commit is contained in:
squidfunk
2017-05-24 16:04:19 +02:00
committed by Martin Donath
parent 0e30256604
commit f717345ec9
2 changed files with 2 additions and 2 deletions

View File

@@ -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