Skip to content

Commit

Permalink
fix: Scheduled email type (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
bukinoshita authored Aug 10, 2024
1 parent ed62e54 commit 6529293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "resend",
"version": "3.6.0-canary.2",
"version": "3.6.0-canary.3",
"description": "Node.js library for the Resend API",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
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 @@ -85,7 +85,7 @@ interface CreateEmailBaseOptions {
*
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
*/
scheduledAt: string;
scheduledAt?: string;
}

export type CreateEmailOptions = RequireAtLeastOne<EmailRenderOptions> &
Expand Down

0 comments on commit 6529293

Please sign in to comment.