From 20be1a51ab53d436183b722c97836e1dde6b8f76 Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Fri, 25 Nov 2022 19:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20refactor:=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=92=A4=E5=9B=9E=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mystery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mystery.js b/apps/mystery.js index f3294a6..44a9c41 100644 --- a/apps/mystery.js +++ b/apps/mystery.js @@ -243,7 +243,7 @@ export class mystery extends plugin { await mongo.then(conn => { return conn.aggregate([{ $sample: { size: MAX_SIZE } }]).toArray() }).then((result) => { - result.forEach(async (item) => { + result.forEach((item) => { images.push({ message: segment.image(item.url), ...template })