Changeset 7edede9 for client_app/src


Ignore:
Timestamp:
01/06/21 18:18:24 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
504c3ef
Parents:
a222a43
Message:

added user register

File:
1 edited

Legend:

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

    ra222a43 r7edede9  
    33const UserRegister = {
    44    userRegister: (email ,password ,name , surname, skillsRetained, skillsToLearn) => {
    5         return axios.post("/user/register", {
     5        return axios.post("/register/user", {
    66            "email": email,
    77            "password": password,
     
    1414    },
    1515    teamRegister:(email ,password,name) => {
    16         return axios.post("/team/register",{
     16        return axios.post("/register/team",{
    1717            "email": email,
    1818            "password": password,
     
    2121    },
    2222    companyRegister:(email ,password,name, country ,city, street) => {
    23         return axios.post("/company/register",{
     23        return axios.post("/register/company",{
    2424            "email": email,
    2525            "password": password,
Note: See TracChangeset for help on using the changeset viewer.