mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
Fix async await
This commit is contained in:
parent
8d44b4f9bc
commit
8bc187feed
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue