From cfd932dc72f78179021a9b7577de6dccc8a6922c Mon Sep 17 00:00:00 2001 From: Alex Corn Date: Wed, 13 Feb 2019 17:42:28 -0500 Subject: [PATCH] Changed output format of getClientLogonToken --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 2409519..cb811c5 100644 --- a/index.js +++ b/index.js @@ -275,7 +275,10 @@ SteamCommunity.prototype.getClientLogonToken = function(callback) { return; } - callback(null, body); + callback(null, { + "accountName": body.account_name, + "webLogonToken": body.token + }); }); };