diff --git a/src/achievement/getAchievementUnlocks.ts b/src/achievement/getAchievementUnlocks.ts index 34e0141..1db625f 100644 --- a/src/achievement/getAchievementUnlocks.ts +++ b/src/achievement/getAchievementUnlocks.ts @@ -57,11 +57,11 @@ export const getAchievementUnlocks = async ( const queryParams: Record = { a: achievementId }; - if (offset) { + if (offset !== undefined) { queryParams.o = offset; } - if (count) { + if (count !== undefined) { queryParams.c = count; }