Comparing version 2.1.2 to 2.1.3
@@ -6,3 +6,3 @@ { | ||
"main": "index.js", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"license": "MIT", | ||
@@ -9,0 +9,0 @@ "eslintConfig": { |
@@ -330,3 +330,3 @@ const PlayerAchievements = require('./structures/PlayerAchievements'); | ||
.get(`/IPlayerService/GetOwnedGames/v1?steamid=${id}&include_appinfo=1`) | ||
.then(json => json.response.games.map(game => new Game(game))); | ||
.then(json => json.response.games ? json.response.games.map(game => new Game(game)) : Promise.reject(new Error('No games found'))); | ||
} | ||
@@ -333,0 +333,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37868