mirror of
https://github.com/harness/drone.git
synced 2025-05-03 22:13:32 +08:00
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:
parent
9e0b140961
commit
fcfa540f7c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user