MCPcopy Index your code
hub / github.com/rx-angular/rx-angular / extractDataFromBody

Function extractDataFromBody

libs/isr/server/src/isr-handler.ts:274–282  ·  view source on GitHub ↗
(
  req: Request,
)

Source from the content-addressed store, hash-verified

272}
273
274const extractDataFromBody = (
275 req: Request,
276): { token: string | null; urlsToInvalidate: string[] } => {
277 const { urlsToInvalidate, token } = req.body as {
278 urlsToInvalidate: string[];
279 token: string;
280 };
281 return { urlsToInvalidate, token };
282};

Callers 1

invalidateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected