mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
bug addimage chat
This commit is contained in:
@@ -653,7 +653,9 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
const roomId = this.roomId
|
const roomId = this.roomId
|
||||||
|
|
||||||
const file: any = await this.fileService.getFileFromDevice(types);
|
const file: any = await this.fileService.getFileFromDevice(types);
|
||||||
|
console.log('ADDFILECHAT', file)
|
||||||
const imageData = await this.fileToBase64Service.convert(file)
|
const imageData = await this.fileToBase64Service.convert(file)
|
||||||
|
console.log('ADDFILECHAT', imageData)
|
||||||
|
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
formData.append("blobFile", file);
|
formData.append("blobFile", file);
|
||||||
|
|||||||
Reference in New Issue
Block a user