mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-23 22:09:51 +08:00
🐛 修正类型异常
This commit is contained in:
@@ -268,7 +268,7 @@ async function tryAuto(skip: boolean = false): Promise<void> {
|
||||
}
|
||||
viewCnt++;
|
||||
if (likeCnt < 5) {
|
||||
const isLike = (detailResp.data.self_operation?.upvote_type ?? 0) > 0;
|
||||
const isLike = (detailResp.data.post.self_operation?.upvote_type ?? 0) > 0;
|
||||
if (isLike) {
|
||||
await TGLogger.Script(`[米游币任务]帖子${post.post.post_id}已点赞,跳过`);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user