[DEBUG] correct callback

This commit is contained in:
Edouard DUPIN 2022-03-09 21:51:25 +01:00
parent 9eede389f5
commit 9d20059d44

View File

@ -220,7 +220,7 @@ export class UserService {
return new Promise((resolve, reject) => {
this.httpOAuth.get("users/check_login", {}, params).then(
(res: Response) => {
resolve()
resolve('valid')
},
error => {
reject(error.status);
@ -235,7 +235,7 @@ export class UserService {
return new Promise((resolve, reject) => {
this.httpOAuth.get("users/check_email", {}, params).then(
(res: Response) => {
resolve()
resolve('valid')
},
error => {
reject(error.status);