MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / fetch

Function fetch

app/src/trpcClient.ts:18–24  ·  view source on GitHub ↗
(url, options)

Source from the content-addressed store, hash-verified

16 [csrfHeaderName]: '',
17 },
18 async fetch(url, options) {
19 // medTODO wrap with error handling. Also wrap ALL our fetches with error handling.
20 return await fetch(url, {
21 ...options,
22 credentials: 'include',
23 })
24 },
25 }),
26 ],
27 transformer: superjson,

Callers 4

downloadImagesFunction · 0.70
persistDbAndBucketFunction · 0.50
mutateFunction · 0.50
postMediaFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected