Skip to content

Commit

Permalink
Transactional - amp_body prop to body_amp for consistency (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
djanhjo authored Mar 30, 2023
1 parent 478809d commit 473d275
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/transactional-email.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ let req = new SendEmailRequest({
bcc: '',
subject: '',
body: '',
plaintext_body: '',
amp_body: '',
body_plain: '',
body_amp: '',
fake_bcc: false,

disable_message_retention: false,
Expand Down
8 changes: 4 additions & 4 deletions lib/api/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export type SendEmailRequestOptionalOptions = Partial<{
preheader: string;
reply_to: string;
bcc: string;
plaintext_body: string;
amp_body: string;
body_plain: string;
body_amp: string;
fake_bcc: boolean;
disable_message_retention: boolean;
send_to_unsubscribed: boolean;
Expand Down Expand Up @@ -53,8 +53,8 @@ export class SendEmailRequest {
preheader: opts.preheader,
reply_to: opts.reply_to,
bcc: opts.bcc,
plaintext_body: opts.plaintext_body,
amp_body: opts.amp_body,
body_plain: opts.body_plain,
body_amp: opts.body_amp,
fake_bcc: opts.fake_bcc,
disable_message_retention: opts.disable_message_retention,
send_to_unsubscribed: opts.send_to_unsubscribed,
Expand Down

0 comments on commit 473d275

Please sign in to comment.