From ddebc2d58ba7c41b717c77200a3b6bb06119fe99 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 15 Apr 2021 12:55:27 +0200 Subject: [PATCH] Fix missing async --- src/fetcher/gitlab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fetcher/gitlab.js b/src/fetcher/gitlab.js index 874c781..437616f 100644 --- a/src/fetcher/gitlab.js +++ b/src/fetcher/gitlab.js @@ -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 {