Skip to content

Commit

Permalink
perf: small performance improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayLikeNeverB4 committed Dec 19, 2024
1 parent dca245a commit 06bf037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/enrichers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const fillSingleProject = async (props: ProjectScopeProps) => {
if (props.projectId) {
return props;
}
const { data } = await props.apiClient.listProjects({});
const { data } = await props.apiClient.listProjects({ limit: 2 });
if (data.projects.length === 0) {
throw new Error('No projects found');
}
Expand Down

0 comments on commit 06bf037

Please sign in to comment.