From 2bb1aac9c28c44eae2a95f25dbbff5b448b0f6a1 Mon Sep 17 00:00:00 2001 From: Rongrong Date: Sat, 1 Jul 2023 18:38:36 +0800 Subject: [PATCH] fix(route/weibo/group): attribute typo (#12734) Signed-off-by: Rongrong --- lib/v2/weibo/group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/weibo/group.js b/lib/v2/weibo/group.js index cd184e02c..c3cfc987f 100644 --- a/lib/v2/weibo/group.js +++ b/lib/v2/weibo/group.js @@ -5,7 +5,7 @@ const weiboUtils = require('./utils'); const { fallback, queryToBoolean } = require('@/utils/readable-social'); module.exports = async (ctx) => { - if (!config.weibo_cookies) { + if (!config.weibo.cookies) { throw 'Weibo Group Timeline is not available due to the absense of [Weibo Cookies]. Check relevant config tutorial'; }