(request: Request, body: BodyInit)
| 80 | } |
| 81 | |
| 82 | function 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 |
no outgoing calls
no test coverage detected