mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
remove reject of the headets
This commit is contained in:
@@ -27,7 +27,7 @@ import { CPSession } from '../store/documentManagement';
|
||||
export class AuthService {
|
||||
userData$ = new BehaviorSubject<any>('');
|
||||
userId$ = new BehaviorSubject<any>('');
|
||||
headers: HttpHeaders = new HttpHeaders({'rejectUnauthorized': environment.rejectUnauthorized });
|
||||
headers: HttpHeaders = new HttpHeaders();
|
||||
public wsValidatedUserChat: any;
|
||||
public isWsAuthenticated: boolean = false;
|
||||
opts: any;
|
||||
@@ -169,6 +169,7 @@ export class AuthService {
|
||||
if (SessionStore.user.ChatData?.data) {
|
||||
this.RochetChatConnectorService.connect();
|
||||
this.RochetChatConnectorService.login().then((message: any) => {
|
||||
console.log('Chat login',message )
|
||||
|
||||
SessionStore.user.RochetChatUserId = message.result.id
|
||||
SessionStore.save()
|
||||
|
||||
Reference in New Issue
Block a user