(token)
| 47 | } |
| 48 | |
| 49 | const headersFor = (token) => ({ |
| 50 | Authorization: `Bearer ${token}`, |
| 51 | "Content-Type": "application/json", |
| 52 | }); |
| 53 | |
| 54 | async function cf(url, headers, init = {}) { |
| 55 | const res = await fetch(url, { headers, ...init }); |
no outgoing calls
no test coverage detected