feat(auth.js): implementada petición de Login

parent 244ad3d9
Showing with 9 additions and 0 deletions
import api from './api';
export const authService = {
login: async (credentials) => {
const response = await api.post('/auth/login', credentials);
return response.data;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment