From a6bc1d7c81f166e842e646ef467d71db312940aa Mon Sep 17 00:00:00 2001 From: Lawin0129 <56766256+Lawin0129@users.noreply.github.com> Date: Fri, 4 Feb 2022 21:18:59 +0000 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2606954..cae16fa 100644 --- a/index.js +++ b/index.js @@ -3692,7 +3692,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/ModifyQuickbar", async (req if (req.body.primaryQuickbarChoices) { for (var i in req.body.primaryQuickbarChoices) { - let a = i + 1; + let a = Number(i) + 1; var value = [req.body.primaryQuickbarChoices[i].replace(/-/ig, "").toUpperCase()]; if (req.body.primaryQuickbarChoices[i] == "") { value = [];