(url, options, headers={})
| 58 | } |
| 59 | |
| 60 | export function callFetch(url, options, headers={}) { |
| 61 | return fetch(url, { |
| 62 | ...options, |
| 63 | headers: { |
| 64 | 'Content-type': 'application/json', |
| 65 | [pgAdmin.csrf_token_header]: pgAdmin.csrf_token, |
| 66 | ...headers, |
| 67 | } |
| 68 | }); |
| 69 | } |
no outgoing calls
no test coverage detected