From 32b93c857f89283f276be5ae2e39c9d11c87fece Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sat, 14 Jan 2023 13:33:24 +0100 Subject: var -> let Signed-off-by: TheArcaneBrony --- scripts/stresstest/src/login/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/stresstest/src/login') diff --git a/scripts/stresstest/src/login/index.js b/scripts/stresstest/src/login/index.js index 291e2b8b..7f04e569 100644 --- a/scripts/stresstest/src/login/index.js +++ b/scripts/stresstest/src/login/index.js @@ -1,14 +1,14 @@ const fetch = require("node-fetch"); const fs = require("fs"); -var config = require("../../config.json"); +let config = require("../../config.json"); module.exports = login; async function login(account) { - var body = { + let body = { fingerprint: "805826570869932034.wR8vi8lGlFBJerErO9LG5NViJFw", login: account.email, password: account.password, }; - var x = await fetch(config.url + "/auth/login", { + let x = await fetch(config.url + "/auth/login", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(body), -- cgit 1.5.1