diff --git a/lib/routes/sis001/forum.ts b/lib/routes/sis001/forum.ts index fc55de618..9791dbde3 100644 --- a/lib/routes/sis001/forum.ts +++ b/lib/routes/sis001/forum.ts @@ -44,11 +44,7 @@ async function handler(ctx) { }; }); - items = await Promise.all( - items.map((item) => - cache.tryGet(item.link, async () => await getThread(item)) - ) - ); + items = await Promise.all(items.map((item) => cache.tryGet(item.link, async () => await getThread(item)))); return { title: $('head title').text(),