Procházet zdrojové kódy

POST to PUT for update profile

master
kj1352 před 5 roky
rodič
revize
e0d573ac2b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/app/services/auth.service.ts

+ 1
- 1
src/app/services/auth.service.ts Zobrazit soubor

@@ -32,6 +32,6 @@ export class AuthService {
})
};
return this.http.post(URL + '/api/maioraservice/user/v1/update', userData, httpOptions).toPromise();
return this.http.put(URL + '/api/maioraservice/user/v1/update', userData, httpOptions).toPromise();
}
}

Načítá se…
Zrušit
Uložit