mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix file
This commit is contained in:
@@ -162,9 +162,12 @@ export class AuthService {
|
||||
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) {}
|
||||
|
||||
return true
|
||||
} catch(e) {
|
||||
return false
|
||||
}
|
||||
|
||||
} else {
|
||||
try {
|
||||
@@ -175,7 +178,9 @@ export class AuthService {
|
||||
message.attachments[0].message_link = url_no_options
|
||||
return true
|
||||
|
||||
} catch(e) {}
|
||||
} catch(e) {
|
||||
return false
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user