Changeset 1397178 for client_app
- Timestamp:
- 01/06/21 21:51:15 (4 years ago)
- Branches:
- master
- Children:
- 723994f
- Parents:
- 9d4220d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client_app/src/repository/register_repo.js
r9d4220d r1397178 2 2 3 3 const UserRegister = { 4 userRegister: (email ,password ,name, surname, skillsRetained, skillsToLearn) => {4 userRegister: (email, password, name, surname, skillsRetained, skillsToLearn) => { 5 5 return axios.post("/register/user", { 6 6 "email": email, … … 8 8 "name": name, 9 9 "surname": surname, 10 "type": 0,11 10 "skillsRetained": skillsRetained, 12 11 "skillsToLearn": skillsToLearn 13 12 }); 14 13 }, 15 teamRegister:(email ,password,name) => {14 teamRegister:(email, password, name, members) => { 16 15 return axios.post("/register/team",{ 17 16 "email": email, 18 17 "password": password, 19 "name": name 18 "name": name, 19 "members": members 20 20 }); 21 21 }, 22 companyRegister:(email ,password,name, country ,city, street) => {22 companyRegister:(email, password, name, country, city, street) => { 23 23 return axios.post("/register/company",{ 24 24 "email": email,
Note:
See TracChangeset
for help on using the changeset viewer.