Fix async await

This commit is contained in:
Yarmo Mackenbach 2020-10-26 21:21:11 +01:00
parent 8d44b4f9bc
commit 8bc187feed

View file

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