source:
client_app/src/repository/login_repo.js@
55149cd
Last change on this file since 55149cd was 17abe5e, checked in by , 4 years ago | |
---|---|
|
|
File size: 275 bytes |
Rev | Line | |
---|---|---|
[3f5bf9e] | 1 | import axios from '../custom_axios/axios'; |
2 | ||
3 | const UserLogin = { | |
[17abe5e] | 4 | login: (email, password, type) => { |
[3f5bf9e] | 5 | return axios.post("/login", { |
[17abe5e] | 6 | "email": email, |
[3f5bf9e] | 7 | "password": password, |
8 | "type": type | |
9 | }); | |
10 | } | |
11 | } | |
12 | ||
13 | export default UserLogin; |
Note:
See TracBrowser
for help on using the repository browser.