Add async

This commit is contained in:
Matthew Sevey 2021-10-06 16:29:50 -04:00
parent 4dd93a269b
commit 62e21d438b
No known key found for this signature in database
GPG Key ID: 9ADDD344F13057F6
1 changed files with 1 additions and 1 deletions

View File

@ -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();