🏷️ 修正调用异常

This commit is contained in:
目棃
2025-02-25 17:56:33 +08:00
parent 112bd3b938
commit 1b1abb9b88

View File

@@ -168,7 +168,7 @@ async function tryAuto(): Promise<void> {
} }
viewCnt++; viewCnt++;
if (likeCnt < 5) { if (likeCnt < 5) {
const isLike = post.self_operation?.upvote_type === 1; const isLike = detailResp.self_operation.upvote_type === 1;
if (isLike) { if (isLike) {
await TGLogger.Script(`[米游币任务]帖子${post.post.post_id}已点赞,跳过`); await TGLogger.Script(`[米游币任务]帖子${post.post.post_id}已点赞,跳过`);
continue; continue;