steamutils 1.4.79 → 1.4.80
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3 -5
- package/package.json +1 -1
package/index.js
CHANGED
@@ -7111,11 +7111,9 @@ export default class SteamUser {
|
|
7111
7111
|
return result;
|
7112
7112
|
}
|
7113
7113
|
|
7114
|
-
|
7115
|
-
|
7116
|
-
|
7117
|
-
console.error(e);
|
7118
|
-
console.error(result);
|
7114
|
+
if (!result || result.status === 401) {
|
7115
|
+
//Unauthorized
|
7116
|
+
return;
|
7119
7117
|
}
|
7120
7118
|
|
7121
7119
|
const data = new SteamProto(SteamProtoType.CPlayer_GetFriendsGameplayInfo_Response).protoDecode(result.data);
|