From df62fa39f65573d893720d8cb9d240aba7e5dedb Mon Sep 17 00:00:00 2001 From: Bu Kinoshita <6929565+bukinoshita@users.noreply.github.com> Date: Wed, 15 Mar 2023 20:41:55 -0300 Subject: [PATCH] fix: Subject required --- src/interfaces.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces.ts b/src/interfaces.ts index 6a8298df..0d446aa2 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -12,7 +12,7 @@ export interface SendEmailData { /** Reply-to email address. Max 50. */ reply_to?: string | string[]; /** Email subject. */ - subject?: string; + subject: string; /** The plain text version of the message. */ text?: string; /** The HTML version of the message. */ @@ -40,7 +40,7 @@ export interface SendEmailRequest { /** Reply-to email address. Max 50. */ reply_to?: string | string[]; /** Email subject. */ - subject?: string; + subject: string; /** The HTML version of the message. */ text?: string; /** The plain text version of the message. */