From adf0a2efcada3917ec40d24cdc37cb38ff324574 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Tue, 13 Jun 2023 21:51:58 +0200 Subject: [PATCH] Fix perkMonthCount not being editable/saving (#14711) Co-authored-by: SabreCat --- website/server/controllers/api-v3/hall.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/server/controllers/api-v3/hall.js b/website/server/controllers/api-v3/hall.js index ba9310bef8..d8f5a086e8 100644 --- a/website/server/controllers/api-v3/hall.js +++ b/website/server/controllers/api-v3/hall.js @@ -277,6 +277,9 @@ api.updateHero = { if (updateData.purchased.plan.gemsBought) { hero.purchased.plan.gemsBought = updateData.purchased.plan.gemsBought; } + if (updateData.purchased.plan.perkMonthCount) { + hero.purchased.plan.perkMonthCount = updateData.purchased.plan.perkMonthCount; + } if (updateData.purchased.plan.consecutive) { if (updateData.purchased.plan.consecutive.trinkets) { const changedHourglassTrinkets = updateData.purchased.plan.consecutive.trinkets