File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/emails/src/providers/smtp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ const sendEmail = async (
9393 headers : { Authorization : `Bearer ${ smtpConfig . auth . pass } ` } ,
9494 } ,
9595 ) ;
96- return { status : 202 , message : `emailId: # ${ data . id } ` } ;
96+ return { status : 202 , message : data . id } ;
9797 } catch ( err : any ) {
9898 if ( err . response ) {
9999 const error : any = new Error ( 'Error sending email with Resend API' ) ;
@@ -107,7 +107,7 @@ const sendEmail = async (
107107 }
108108 if ( transporter ) {
109109 const info = await transporter . sendMail ( mailOptions ) ;
110- return { status : 202 , message : `messageId: # ${ info . messageId } ` } ;
110+ return { status : 202 , message : info . messageId } ;
111111 }
112112 throw new Error ( 'Error configuring SMTP settings' ) ;
113113} ;
You can’t perform that action at this time.
0 commit comments