rocket chat service

This commit is contained in:
Peter Maquiran
2022-01-07 15:48:35 +01:00
parent 178e3cc559
commit ee8550f983
5 changed files with 165 additions and 187 deletions
-5
View File
@@ -30,7 +30,6 @@ export class AuthService {
public alertController: AlertController,
private aesencrypt: AESEncrypt,
private cookieService: CookieService,
private RocketChatClientService: RocketChatClientService
) {
this.headers = new HttpHeaders();
@@ -99,10 +98,6 @@ export class AuthService {
"password": user.password,
}
console.log(postData);
this.RocketChatClientService.login(postData)
let responseChat = await this.httpService.post('login', postData).toPromise();
if(responseChat) {
console.log('Login to Rocket chat OK');