MCPcopy Index your code
hub / github.com/dataease/SQLBot / makeFetchJSON

Function makeFetchJSON

frontend/public/swagger-ui-bundle.js:41412–41424  ·  view source on GitHub ↗
(s, o = {})

Source from the content-addressed store, hash-verified

41410 }
41411 }
41412 const tu = { refs: Xl, allOf: Ql, parameters: Zl, properties: eu }
41413 function makeFetchJSON(s, o = {}) {
41414 const { requestInterceptor: i, responseInterceptor: a } = o,
41415 u = s.withCredentials ? 'include' : 'same-origin'
41416 return (o) =>
41417 s({
41418 url: o,
41419 loadSpec: !0,
41420 requestInterceptor: i,
41421 responseInterceptor: a,
41422 headers: { Accept: Dl },
41423 credentials: u,
41424 }).then((s) => s.body)
41425 }
41426 function isFile(s, o) {
41427 return (

Callers 2

resolveGenericStrategyFunction · 0.85
makeResolveFunction · 0.85

Calls 2

sFunction · 0.50
thenMethod · 0.45

Tested by

no test coverage detected