mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
🏷️ 修正调用异常
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user