diff --git a/docs/v1/users/get-user-summary.md b/docs/v1/users/get-user-summary.md index abdefa7..2d7d4f8 100644 --- a/docs/v1/users/get-user-summary.md +++ b/docs/v1/users/get-user-summary.md @@ -127,7 +127,7 @@ const userSummary = await getUserSummary(authorization, { | :------------------------ | :------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------- | | `authorization` | [`AuthObject`](/v1/data-models/auth-object) | An object that must contain a `userName` and a `webApiKey`. See [this page](/getting-started) for how to create this object. | | `userName` | `string` | The user for which to retrieve the summary for. | -| `recentGamesCount` | `number?` | Optional. How many recent games to fetch. The default is 5. | +| `recentGamesCount` | `number?` | Optional. How many recent games to fetch. The default is 0. | | `recentAchievementsCount` | `number?` | Optional. How many recent achievements to fetch. The default is 5. | ## Source diff --git a/src/user/getUserSummary.ts b/src/user/getUserSummary.ts index 734f08c..3ac328a 100644 --- a/src/user/getUserSummary.ts +++ b/src/user/getUserSummary.ts @@ -17,7 +17,7 @@ import type { GetUserSummaryResponse, UserSummary } from "./models"; * @param payload.userName The user for which to retrieve the summary for. * * @param payload.recentGamesCount Optional. The number of recent games to return. - * This defaults to 5. + * This defaults to 0. * * @param payload.recentAchievementsCount Optional. The number of recent achievements * to return. This defaults to 5.