File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export const findUniqueUser = async (
3434} ;
3535
3636export const updateUser = async (
37- where : Partial < Prisma . UserCreateInput > ,
37+ where : Prisma . UserWhereUniqueInput ,
3838 data : Prisma . UserUpdateInput ,
3939 select ?: Prisma . UserSelect
4040) => {
Original file line number Diff line number Diff line change @@ -51,8 +51,9 @@ export default class Email {
5151 } ;
5252
5353 // Send email
54- const info = await this . newTransport ( ) . sendMail ( mailOptions ) ;
55- console . log ( nodemailer . getTestMessageUrl ( info ) ) ;
54+ // const info = await this.newTransport().sendMail(mailOptions);
55+ // console.log(nodemailer.getTestMessageUrl(info));
56+ await this . newTransport ( ) . sendMail ( mailOptions ) ;
5657 }
5758
5859 async sendVerificationCode ( ) {
You can’t perform that action at this time.
0 commit comments