(body: string)
| 585 | ...(data !== undefined ? { data } : {}), |
| 586 | } |
| 587 | const send = async (body: string) => |
| 588 | fetch(COPILOT_CONFIRM_API_PATH, { |
| 589 | method: 'POST', |
| 590 | headers: { 'Content-Type': 'application/json', ...traceparentHeader() }, |
| 591 | body, |
| 592 | }) |
| 593 | |
| 594 | const body = JSON.stringify(basePayload) |
| 595 | const LARGE_PAYLOAD_THRESHOLD = 10 * 1024 * 1024 |
no test coverage detected