From 8bc187feed9644bba6a468f4e679d422ce075a4a Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 26 Oct 2020 21:21:11 +0100 Subject: [PATCH] Fix async await --- src/serviceproviders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serviceproviders.js b/src/serviceproviders.js index 5ce99b4..fe869ff 100644 --- a/src/serviceproviders.js +++ b/src/serviceproviders.js @@ -53,7 +53,7 @@ const match = (uri, opts) => { return matches } -const directRequestHandler = (spData) => { +const directRequestHandler = async (spData) => { const res = await req(spData.proof.fetch ? spData.proof.fetch : spData.proof.uri) switch (spData.proof.format) {