diff --git a/cwd-comments-api/src/utils/email.ts b/cwd-comments-api/src/utils/email.ts index 9f7bf42..6ba94e2 100644 --- a/cwd-comments-api/src/utils/email.ts +++ b/cwd-comments-api/src/utils/email.ts @@ -84,8 +84,8 @@ export async function sendCommentReplyNotification( } await env.SEND_EMAIL.send({ - to: [{ email: toEmail }], - from: { email: env.CF_FROM_EMAIL }, + to: [toEmail], + from: env.CF_FROM_EMAIL, subject: `评论回复 - ${postTitle}`, html });