From 47ceb0a7ac246a155c7f8a41d2627a9da5c9a99c Mon Sep 17 00:00:00 2001 From: Arceliar Date: Sat, 5 May 2018 16:24:04 -0500 Subject: [PATCH] Update builds.md --- builds.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/builds.md b/builds.md index 6e4bc3d..ed55085 100644 --- a/builds.md +++ b/builds.md @@ -14,8 +14,9 @@ For convenience, the [build artifacts](https://circleci.com/api/v1.1/project/git let url = 'https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts?branch=master&filter=successful'; fetch(url) -.then(res => res.json()) -.then(function (bins) { +.then(function(res) { + return res.json(); +}).then(function (bins) { var links = document.createElement('p') for (var idx in bins) { var bin = bins[idx]