Skip to content

Commit

Permalink
include email id as part of the attachment id for a Gmail attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Jan 5, 2024
1 parent c60808d commit e7fd102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api-client/gmail-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class GmailClient {
if (node.body.attachmentId) {
let attachment = {
// append body part nr to message id
id: node.body.attachmentId,
id: `${messageData.id}_${node.body.attachmentId}`,
contentType: node.mimeType,
encodedSize: node.body.size,

Expand Down

0 comments on commit e7fd102

Please sign in to comment.