mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Remove relevant console log,
This commit is contained in:
@@ -38,7 +38,7 @@ export class ChatService {
|
||||
|
||||
|
||||
if(this.p.userPermission(this.p.permissionList.Chat.access)) {
|
||||
// console.log(this.loggedUserChat)
|
||||
//
|
||||
this.headers = this.headers.set('X-User-Id', this.loggedUserChat.userId);
|
||||
this.headers = this.headers.set('X-Auth-Token', this.loggedUserChat.authToken);
|
||||
this.options = {
|
||||
@@ -210,7 +210,7 @@ export class ChatService {
|
||||
|
||||
/* GROUPS */
|
||||
addGroup(body:any){
|
||||
console.log(body);
|
||||
|
||||
return this.http.post(environment.apiChatUrl+'groups.create', body, this.options);
|
||||
}
|
||||
setGroupCustomFields(body:any){
|
||||
@@ -320,7 +320,7 @@ export class ChatService {
|
||||
}
|
||||
|
||||
async subscribe(roomId:any) {
|
||||
console.log('Subcrive')
|
||||
|
||||
let params = new HttpParams();
|
||||
params = params.set("roomId", roomId);
|
||||
let opts = {
|
||||
@@ -329,7 +329,7 @@ export class ChatService {
|
||||
}
|
||||
|
||||
this.http.get(environment.apiChatUrl+'im.messages', opts).subscribe(async res => {
|
||||
console.log("Subcrive", res)
|
||||
|
||||
|
||||
if (res == 502) {
|
||||
// Connection timeout
|
||||
|
||||
Reference in New Issue
Block a user