(path, fetchConfig, _body, config)
| 8 | const logWarningOnce = once(console.warn); |
| 9 | |
| 10 | function GET(path, fetchConfig, _body, config) { |
| 11 | return fetch( |
| 12 | path, |
| 13 | mergeDeepRight(fetchConfig, { |
| 14 | method: 'GET', |
| 15 | headers: getCSRFHeader(config) |
| 16 | }) |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | function POST(path, fetchConfig, body = {}, config) { |
| 21 | return fetch( |
nothing calls this directly
no test coverage detected