()
| 391 | }, []) |
| 392 | |
| 393 | const fetchGithubIntegration = () => { |
| 394 | getGithubIntegration( |
| 395 | getStore(), |
| 396 | { |
| 397 | organisation_id: AccountStore.getOrganisation().id, |
| 398 | }, |
| 399 | { forceRefetch: true }, |
| 400 | ).then((res) => { |
| 401 | setGithubId(res?.data?.results[0]?.id) |
| 402 | setHasIntegrationWithGithub(!!res?.data?.results?.length) |
| 403 | setInstallationId(res?.data?.results[0]?.installation_id) |
| 404 | }) |
| 405 | } |
| 406 | |
| 407 | const fetch = () => { |
| 408 | const integrationList = Utils.getIntegrationData() |
no test coverage detected
searching dependent graphs…