Skip to content

Commit

Permalink
Update smzdm_task.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hex-ci committed Aug 8, 2023
1 parent cc57a52 commit 1dbfd9a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions smzdm_task.js
Original file line number Diff line number Diff line change
Expand Up @@ -659,10 +659,12 @@ class SmzdmTaskBot extends SmzdmBot {
await wait(3, 10);
}
else {
articles = [{
article_id: task.article_id,
article_channel_id: task.channel_id
}];
for (let i = 0; i < task.task_even_num - task.task_finished_num; i++) {
articles.push({
article_id: task.article_id,
article_channel_id: task.channel_id
});
}

isRead = task.task_redirect_url.link_val != '';
}
Expand Down

0 comments on commit 1dbfd9a

Please sign in to comment.