steamutils 1.1.22 → 1.1.23
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +0 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1527,14 +1527,12 @@ class SteamUser {
|
|
1527
1527
|
console.log('Too Many Requests')
|
1528
1528
|
tooManyRequestTimestamp = new Date().getTime()
|
1529
1529
|
await sleep(30000)
|
1530
|
-
break
|
1531
1530
|
} else if (response.status === 401) {
|
1532
1531
|
console.log('Unauthorized')
|
1533
1532
|
if (params.method.toUpperCase() === 'POST') {
|
1534
1533
|
config.headers['Content-Type'] = config.headers['content-type'] = 'multipart/form-data'
|
1535
1534
|
retry = 1
|
1536
1535
|
}
|
1537
|
-
break
|
1538
1536
|
} else {
|
1539
1537
|
console.log(response.status);
|
1540
1538
|
}
|