From 62e21d438b43e764f79f4cef60fc8e7e03abc70d Mon Sep 17 00:00:00 2001 From: Matthew Sevey Date: Wed, 6 Oct 2021 16:29:50 -0400 Subject: [PATCH] Add async --- packages/health-check/src/checks/extended.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/health-check/src/checks/extended.js b/packages/health-check/src/checks/extended.js index c844bd37..49727af5 100644 --- a/packages/health-check/src/checks/extended.js +++ b/packages/health-check/src/checks/extended.js @@ -7,7 +7,7 @@ const { parseSkylink } = require("skynet-js"); // corpusCheck runs through all the tests hosted at the resolver skylink created // by the testing-corpus repo https://github.com/SkynetLabs/testing-corpus -function corpusCheck(done) { +async function corpusCheck(done) { // Query the resolver skylink that the testing corpus is stored at const query = `https://040e2npojpl9tiahghgls0d13bvacn5qo9jodruda8lcp3l4q3h1ikg.siasky.net/`; const json = await got(query).json();