This commit is contained in:
Peter Maquiran
2022-03-15 16:28:31 +01:00
parent 00cf4f7eaa
commit 2302a32df6
3 changed files with 17 additions and 21 deletions
+4 -4
View File
@@ -169,10 +169,10 @@ export class AuthService {
try {
let guid: any = await this.AttachmentsService.uploadFile(formData).toPromise()
message.file.guid = guid.path
await this.storage.set(guid.path, message.file.image_url).then(() => {
console.log('add picture to chat IMAGE SAVED')
message.getFileFromDb()
});
// await this.storage.set(guid.path, message.file.image_url).then(() => {
// console.log('add picture to chat IMAGE SAVED')
// // message.getFileFromDb()
// });
return true
} catch(e) {