mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
Merge branch 'feature/websocket' of https://bitbucket.org/equilibriumito/gabinete-digital into feature/websocket
This commit is contained in:
@@ -224,7 +224,7 @@ export class ChatService {
|
||||
let opts = {
|
||||
headers: this.headers,
|
||||
}
|
||||
return this.http.post(environment.apiChatUrl+'im.close', body, this.options);
|
||||
return this.http.post(environment.apiChatUrl+'im.delete', body, this.options);
|
||||
}
|
||||
|
||||
createRoom(body:any){
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ChatService } from './chat.service';
|
||||
import { wsChatService } from './chat.service';
|
||||
|
||||
describe('ChatService', () => {
|
||||
let service: ChatService;
|
||||
let service: wsChatService;
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({});
|
||||
service = TestBed.inject(ChatService);
|
||||
service = TestBed.inject(wsChatService);
|
||||
});
|
||||
|
||||
it('should be created', () => {
|
||||
|
||||
@@ -435,6 +435,7 @@ export class FileService {
|
||||
{
|
||||
"rid": roomId,
|
||||
"msg": "",
|
||||
"alias": "documento",
|
||||
"attachments": [{
|
||||
"title": res.data.selected.Assunto,
|
||||
"description": res.data.selected.DocTypeDesc,
|
||||
|
||||
Reference in New Issue
Block a user