Changeset 1397178 for client_app/src


Ignore:
Timestamp:
01/06/21 21:51:15 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
723994f
Parents:
9d4220d
Message:

fixed some issues in react

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client_app/src/repository/register_repo.js

    r9d4220d r1397178  
    22
    33const UserRegister = {
    4     userRegister: (email ,password ,name , surname, skillsRetained, skillsToLearn) => {
     4    userRegister: (email, password, name, surname, skillsRetained, skillsToLearn) => {
    55        return axios.post("/register/user", {
    66            "email": email,
     
    88            "name": name,
    99            "surname": surname,
    10             "type": 0,
    1110            "skillsRetained": skillsRetained,
    1211            "skillsToLearn": skillsToLearn
    1312        });
    1413    },
    15     teamRegister:(email ,password,name) => {
     14    teamRegister:(email, password, name, members) => {
    1615        return axios.post("/register/team",{
    1716            "email": email,
    1817            "password": password,
    19             "name": name
     18            "name": name,
     19            "members": members
    2020        });
    2121    },
    22     companyRegister:(email ,password,name, country ,city, street) => {
     22    companyRegister:(email, password, name, country, city, street) => {
    2323        return axios.post("/register/company",{
    2424            "email": email,
Note: See TracChangeset for help on using the changeset viewer.