steamutils 1.2.97 → 1.2.98
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +10 -1
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -1674,7 +1674,16 @@ function SteamClient({
|
|
1674
1674
|
if (isMe && ownedApps.length) {
|
1675
1675
|
return ownedApps
|
1676
1676
|
}
|
1677
|
-
|
1677
|
+
let result = {}
|
1678
|
+
try {
|
1679
|
+
result = await steamClient.getUserOwnedApps(steamId)
|
1680
|
+
} catch (e) {
|
1681
|
+
try {
|
1682
|
+
result = await steamClient.getUserOwnedApps(steamId)
|
1683
|
+
} catch (e) {
|
1684
|
+
result = {}
|
1685
|
+
}
|
1686
|
+
}
|
1678
1687
|
if (isMe && Array.isArray(result.apps)) {
|
1679
1688
|
ownedApps.length = 0
|
1680
1689
|
ownedApps.push(...result.apps)
|