Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/common/interfaces/email-api-options.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface EmailApiAttachment {
filename?: string | false | undefined;
path?: string;
content_type?: string;
inline_content_id?: string;
content_id?: string;
}

export interface EmailApiOptions {
Expand Down
2 changes: 1 addition & 1 deletion src/common/utils/parse-email-to-api-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function parseAttachments(
filename: attachment.filename,
path: attachment.path,
content_type: attachment.contentType,
inline_content_id: attachment.inlineContentId,
content_id: attachment.contentId,
}));
}

Expand Down
2 changes: 1 addition & 1 deletion src/emails/interfaces/create-email-options.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export interface Attachment {
* Optional content ID for the attachment, to be used as a reference in the HTML content.
* If set, this attachment will be sent as an inline attachment and you can reference it in the HTML content using the `cid:` prefix.
*/
inlineContentId?: string;
contentId?: string;
}

export type Tag = {
Expand Down