mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 10:52:23 +01:00
Update index.js
This commit is contained in:
2
index.js
2
index.js
@@ -3692,7 +3692,7 @@ express.post("/fortnite/api/game/v2/profile/*/client/ModifyQuickbar", async (req
|
|||||||
|
|
||||||
if (req.body.primaryQuickbarChoices) {
|
if (req.body.primaryQuickbarChoices) {
|
||||||
for (var i in 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()];
|
var value = [req.body.primaryQuickbarChoices[i].replace(/-/ig, "").toUpperCase()];
|
||||||
if (req.body.primaryQuickbarChoices[i] == "") {
|
if (req.body.primaryQuickbarChoices[i] == "") {
|
||||||
value = [];
|
value = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user