fixed a typo in the account server

This commit is contained in:
CaramelKat
2021-08-31 15:08:58 -05:00
committed by jay.poff@outlook.com
parent 633f74aac8
commit 52f272b201

View File

@@ -724,7 +724,7 @@ router.post('/login', upload.none(), function (req, res) {
let password_hash = await util.data.nintendoPasswordHash(password, user.pid);
await request.post({
url: "http://" + config.account_server_domain + "/v1/api/oauth20/access_token/generate",
url: "https://" + config.account_server_domain + "/v1/api/oauth20/access_token/generate",
headers: {
'X-Nintendo-Client-ID': config["X-Nintendo-Client-ID"],
'X-Nintendo-Client-Secret': config["X-Nintendo-Client-Secret"],