MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / fetchGithubIntegration

Function fetchGithubIntegration

frontend/web/components/IntegrationList.tsx:393–405  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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()

Callers 2

IntegrationListFunction · 0.85
addIntegrationFunction · 0.85

Calls 2

getGithubIntegrationFunction · 0.90
getStoreFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…