()
| 36 | } |
| 37 | |
| 38 | export async function getMe() { |
| 39 | const res = await fetch(`${API_BASE}/auth/me`, { headers: getHeaders() }); |
| 40 | if (!res.ok) throw new Error('Not authenticated'); |
| 41 | return res.json(); |
| 42 | } |
| 43 | |
| 44 | // Datasets |
| 45 | export async function getDatasets() { |
no test coverage detected