MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / getRequestBody

Function getRequestBody

frontend/src/client/core/request.ts:180–185  ·  view source on GitHub ↗
(options: ApiRequestOptions)

Source from the content-addressed store, hash-verified

178}
179
180export const getRequestBody = (options: ApiRequestOptions): unknown => {
181 if (options.body) {
182 return options.body
183 }
184 return undefined
185}
186
187export const sendRequest = async <T>(
188 config: OpenAPIConfig,

Callers 1

requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected