[DEBUG] correct callback
This commit is contained in:
parent
9eede389f5
commit
9d20059d44
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user