mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-19 02:04:10 +00:00
fix(lint): ===
This commit is contained in:
parent
93e922e774
commit
5359a2bf3d
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ schema.methods.incrementPerkCounterAndReward = async function incrementPerkCount
|
|||
}
|
||||
// if perkMonthCount wasn't used before, initialize it.
|
||||
if (this.perkMonthCount === undefined || this.perkMonthCount === -1) {
|
||||
if (this.planId == 'basic_earned') {
|
||||
if (this.planId === 'basic_earned') {
|
||||
this.perkMonthCount = (this.consecutive.count - 1) % SUBSCRIPTION_BASIC_BLOCK_LENGTH;
|
||||
} else {
|
||||
this.perkMonthCount = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue