From feab46cb15438166cd0828b59c37d3fd4ffe955b Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 4 Jun 2019 11:54:20 +0800 Subject: [PATCH] fix: got.all --- lib/utils/got.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/got.js b/lib/utils/got.js index 3b40d3382f..c2b7addac6 100644 --- a/lib/utils/got.js +++ b/lib/utils/got.js @@ -95,5 +95,6 @@ const custom = got.extend({ 'x-app': 'RSSHub', }, }); +custom.all = (list) => Promise.all(list); module.exports = custom;