This commit is contained in:
PRO100KatYT
2024-12-21 06:30:17 +01:00
parent be179d0ab2
commit 21293fa7d6

View File

@@ -8226,7 +8226,7 @@ express.get("/api/locker/v3/:deploymentId/account/:accountId/items", async (req,
profile.rvn += 1; profile.rvn += 1;
profile.commandRevision += 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) res.json(response)
@@ -8345,7 +8345,7 @@ express.put("/api/locker/v3/:deploymentId/loadout/:loadoutType/account/:accountI
profile.rvn += 1; profile.rvn += 1;
profile.commandRevision += 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) res.json(response)
@@ -8426,7 +8426,7 @@ express.get("/api/locker/v4/:deploymentId/account/:accountId/items", async (req,
profile.rvn += 1; profile.rvn += 1;
profile.commandRevision += 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) res.json(response)
@@ -8546,7 +8546,7 @@ express.put("/api/locker/v4/:deploymentId/account/:accountId/active-loadout-grou
profile.rvn += 1; profile.rvn += 1;
profile.commandRevision += 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) res.json(response)