Skip to content

Commit

Permalink
Fix article delivery counts not working
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Aug 29, 2020
1 parent 603d047 commit bb72acb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/structs/ArticleQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class ArticleQueue {
try {
await articleData.articleMessage.send(this.client)
await this.recordSuccess(articleData.newArticle)
ArticleQueue.sent++
} catch (err) {
await this.recordFailure(articleData.newArticle, err.message)
}
Expand Down Expand Up @@ -139,7 +140,7 @@ class ArticleQueue {
}
})
}
this.sent = 0
ArticleQueue.sent = 0
}
}

Expand Down

0 comments on commit bb72acb

Please sign in to comment.