()
| 8 | } |
| 9 | |
| 10 | function getAuthHeaders() { |
| 11 | const token = localStorage.getItem('token'); |
| 12 | return token ? { Authorization: `Bearer ${token}` } : {}; |
| 13 | } |
| 14 | |
| 15 | // Auth |
| 16 | export async function login(email, password) { |
no outgoing calls
no test coverage detected