mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Fix missing async
This commit is contained in:
parent
6f6506bf23
commit
ddebc2d58b
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module.exports = async (data, opts) => {
|
|||
)
|
||||
})
|
||||
|
||||
const fetchPromise = new Promise((resolve, reject) => {
|
||||
const fetchPromise = new Promise(async (resolve, reject) => {
|
||||
const urlUser = `https://${data.domain}/api/v4/users?username=${data.username}`
|
||||
let resUser
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue