refactor(*): Remove unused userId parameter from countCombinedData method

This commit is contained in:
Josh Creek
2025-07-26 22:39:25 +01:00
parent 5b7fe52dc4
commit c2c8fd1fb4
2 changed files with 1 additions and 2 deletions
@@ -208,7 +208,6 @@ class CombinedDataRepository {
}
async countCombinedData(
userId: string,
enableForms: boolean,
region: string,
game: string
+1 -1
View File
@@ -38,7 +38,7 @@ export const GET = async (event: RequestEvent) => {
return json({ combinedData: [], totalPages: 0 });
}
const totalCount = await repo.countCombinedData(userId || '', enableForms, region, game);
const totalCount = await repo.countCombinedData(enableForms, region, game);
const totalPages = Math.ceil(totalCount / limit);
return json({ combinedData, totalPages });