Se soluciono authenticacion
This commit is contained in:
@@ -7,7 +7,6 @@ export async function login(username, password) {
|
||||
body: JSON.stringify({ username, password }),
|
||||
});
|
||||
|
||||
console.log('API URL:', `${API_URL}/token/`);
|
||||
if (!response.ok) {
|
||||
throw new Error('Credenciales inválidas');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user