update: [code-2195] increase limit of get checks for commit to 100 (#2542)

* update: [code-2195] increase limit of get checks for commit to 100
This commit is contained in:
Ritik Kapoor 2024-08-20 21:41:04 +00:00 committed by Harness
parent 9e0b140961
commit fcfa540f7c

View File

@ -29,6 +29,7 @@ export function usePRChecksDecision({
const { data, error, refetch } = useListStatusCheckResults({
repo_ref: `${repoMetadata?.path as string}/+`,
commit_sha: pullReqMetadata?.source_sha as string,
queryParams: { limit: 100 },
lazy: !repoMetadata?.path || !pullReqMetadata?.source_sha
})
const [count, setCount] = useState(DEFAULT_COUNTS)