fix(route/weibo/group): attribute typo (#12734)

Signed-off-by: Rongrong <i@rong.moe>
This commit is contained in:
Rongrong 2023-07-01 18:38:36 +08:00 committed by GitHub
parent 8d299bb671
commit 2bb1aac9c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 <a href="https://docs.rsshub.app/install/#pei-zhi-bu-fen-rss-mo-kuai-pei-zhi">relevant config tutorial</a>';
}