steamutils 1.2.16 → 1.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5914,8 +5914,10 @@ class SteamUser {
|
|
|
5914
5914
|
const response = await this._httpRequestAjax({
|
|
5915
5915
|
url: `https://store.steampowered.com/twofactor/manage_action`,
|
|
5916
5916
|
method: 'POST',
|
|
5917
|
-
data:
|
|
5918
|
-
|
|
5917
|
+
data: "action=deauthorize&sessionid=" + this._sessionid,
|
|
5918
|
+
headers: {
|
|
5919
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
5920
|
+
"Referer": "https://store.steampowered.com/twofactor/manage",
|
|
5919
5921
|
}
|
|
5920
5922
|
})
|
|
5921
5923
|
console.log(response.data);
|