MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / cloneSlackRequest

Function cloneSlackRequest

apps/web/src/lib/bot/platforms/slack-webhook.ts:82–88  ·  view source on GitHub ↗
(request: Request, body: BodyInit)

Source from the content-addressed store, hash-verified

80}
81
82function cloneSlackRequest(request: Request, body: BodyInit): Request {
83 return new Request(request.url, {
84 method: request.method,
85 headers: request.headers,
86 body,
87 });
88}
89
90/**
91 * Returns a webhook handler that verifies the Slack signature, peels off the

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected