diff --git a/tdrive/backend/node/src/services/documents/services/index.ts b/tdrive/backend/node/src/services/documents/services/index.ts index b4023885..f9cc191f 100644 --- a/tdrive/backend/node/src/services/documents/services/index.ts +++ b/tdrive/backend/node/src/services/documents/services/index.ts @@ -426,6 +426,9 @@ export class DocumentsService { if (sharedWith.length > 0) { // Notify the user that the document has been shared with them + this.logger.info("Notifying user that the document has been shared with them: ", { + sharedWith, + }); gr.services.documents.engine.notifyDocumentShared({ context, item, @@ -733,6 +736,10 @@ export class DocumentsService { await this.repository.save(item); // Notify the user that the document versions have been updated + this.logger.info("Notifying user that the document has been updated: ", { + item, + notificationEmitter: context.user.id, + }); gr.services.documents.engine.notifyDocumentVersionUpdated({ context, item,