xiongzhu 2 years ago
parent
commit
8152c5ea64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      routes/api/index.js

+ 1 - 1
routes/api/index.js

@@ -97,7 +97,7 @@ module.exports = async function (fastify, opts) {
                 }
                 }
             })
             })
         })
         })
-        res = await new Promise((resolve, reject) => {
+        await new Promise((resolve, reject) => {
             queue.start(() => {
             queue.start(() => {
                 resolve()
                 resolve()
             })
             })