From 9cbca047307c4b399f482c0e6c98a3e8b84ee7a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 8 Aug 2022 14:49:51 +0000 Subject: [PATCH] style: auto format --- lib/v2/fda/cdrh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/fda/cdrh.js b/lib/v2/fda/cdrh.js index 8a197c9f6..e7c40156b 100644 --- a/lib/v2/fda/cdrh.js +++ b/lib/v2/fda/cdrh.js @@ -30,7 +30,7 @@ module.exports = async (ctx) => { items = await Promise.all( items.map((item) => - ctx.cache.tryGet((titleOnly ? null : item.link), async () => { + ctx.cache.tryGet(titleOnly ? null : item.link, async () => { const detailResponse = await got({ method: 'get', url: item.link,