From 21293fa7d64de92a7e0350bdded52d37d5a216a4 Mon Sep 17 00:00:00 2001 From: PRO100KatYT <67335438+PRO100KatYT@users.noreply.github.com> Date: Sat, 21 Dec 2024 06:30:17 +0100 Subject: [PATCH] bugfix --- structure/mcp.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/structure/mcp.js b/structure/mcp.js index 9f07a83..6cab671 100644 --- a/structure/mcp.js +++ b/structure/mcp.js @@ -8226,7 +8226,7 @@ express.get("/api/locker/v3/:deploymentId/account/:accountId/items", async (req, profile.rvn += 1; profile.commandRevision += 1; - fs.writeFileSync("./../profiles/athena.json", JSON.stringify(profile, null, 2)); + fs.writeFileSync("./profiles/athena.json", JSON.stringify(profile, null, 2)); } res.json(response) @@ -8345,7 +8345,7 @@ express.put("/api/locker/v3/:deploymentId/loadout/:loadoutType/account/:accountI profile.rvn += 1; profile.commandRevision += 1; - fs.writeFileSync("./../profiles/athena.json", JSON.stringify(profile, null, 2)); + fs.writeFileSync("./profiles/athena.json", JSON.stringify(profile, null, 2)); } res.json(response) @@ -8426,7 +8426,7 @@ express.get("/api/locker/v4/:deploymentId/account/:accountId/items", async (req, profile.rvn += 1; profile.commandRevision += 1; - fs.writeFileSync("./../profiles/athena.json", JSON.stringify(profile, null, 2)); + fs.writeFileSync("./profiles/athena.json", JSON.stringify(profile, null, 2)); } res.json(response) @@ -8546,7 +8546,7 @@ express.put("/api/locker/v4/:deploymentId/account/:accountId/active-loadout-grou profile.rvn += 1; profile.commandRevision += 1; - fs.writeFileSync("./../profiles/athena.json", JSON.stringify(profile, null, 2)); + fs.writeFileSync("./profiles/athena.json", JSON.stringify(profile, null, 2)); } res.json(response)