@social-mail/social-mail-web-server 1.8.454 → 1.8.455
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/services/emails/IndexEmailService.d.ts.map +1 -1
- package/dist/server/services/emails/IndexEmailService.js +3 -1
- package/dist/server/services/emails/IndexEmailService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/server/services/emails/IndexEmailService.ts +3 -1
package/package.json
CHANGED
|
@@ -26,7 +26,9 @@ export default class IndexEmailService {
|
|
|
26
26
|
// delete all search email tokens if exists
|
|
27
27
|
const { db } = this;
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
if(textBody) {
|
|
30
|
+
await this.insertText(emailID, textBody, "body");
|
|
31
|
+
}
|
|
30
32
|
|
|
31
33
|
// for all attachments...
|
|
32
34
|
const attachments = await db.appFiles.where({ emailID}, (p) => (x) => x.emailID === p.emailID)
|