Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/analytics' into analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Feb 29, 2024
2 parents 87b947d + 7196997 commit 98989a6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/pages/api/teams/[teamId]/websites/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,7 @@ export default async (
return unauthorized(res);
}

const { page, query, pageSize } = req.query;

const websites = await getTeamWebsites(teamId, {
page,
query,
pageSize,
});
const websites = await getTeamWebsites(teamId, req.query);

return ok(res, websites);
}
Expand Down

0 comments on commit 98989a6

Please sign in to comment.