From 28d1703bd7bbda0095b047d42ecbbebf5879b81d Mon Sep 17 00:00:00 2001 From: TonyRL Date: Thu, 9 Feb 2023 14:05:20 +0000 Subject: [PATCH] fix(route): jin10 undefinded item --- lib/v2/jin10/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/jin10/index.js b/lib/v2/jin10/index.js index baa02a5f5..4e5833750 100644 --- a/lib/v2/jin10/index.js +++ b/lib/v2/jin10/index.js @@ -20,7 +20,7 @@ module.exports = async (ctx) => { vip: '1', }, }); - return response.data; + return response.data.filter((item) => item.type !== 1); }, config.cache.routeExpire, false