From 5359a2bf3d765093128ed77b4b5b3e137ed61389 Mon Sep 17 00:00:00 2001 From: SabreCat Date: Tue, 14 Mar 2023 16:14:48 -0500 Subject: [PATCH] fix(lint): === --- website/server/models/subscriptionPlan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/server/models/subscriptionPlan.js b/website/server/models/subscriptionPlan.js index 49a7ca0600..31849ceb94 100644 --- a/website/server/models/subscriptionPlan.js +++ b/website/server/models/subscriptionPlan.js @@ -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;