MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / parseRequestBody

Function parseRequestBody

src/api/BaseController.ts:28–32  ·  view source on GitHub ↗
(
		req: HTTPRequestLike
	)

Source from the content-addressed store, hash-verified

26 }
27
28 protected async parseRequestBody<T extends object = Record<string, unknown>>(
29 req: HTTPRequestLike
30 ): Promise<T> {
31 return (await parseJSONBody(req)) as T;
32 }
33}

Callers

nothing calls this directly

Calls 1

parseJSONBodyFunction · 0.90

Tested by

no test coverage detected