fix(lint): ===

This commit is contained in:
SabreCat
2023-03-14 16:14:48 -05:00
parent 93e922e774
commit 5359a2bf3d

View File

@@ -58,7 +58,7 @@ schema.methods.incrementPerkCounterAndReward = async function incrementPerkCount
} }
// if perkMonthCount wasn't used before, initialize it. // if perkMonthCount wasn't used before, initialize it.
if (this.perkMonthCount === undefined || this.perkMonthCount === -1) { 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; this.perkMonthCount = (this.consecutive.count - 1) % SUBSCRIPTION_BASIC_BLOCK_LENGTH;
} else { } else {
this.perkMonthCount = 0; this.perkMonthCount = 0;